diff --git a/docs/source/tutorial/local-state.mdx b/docs/source/tutorial/local-state.mdx index d911cdff1..9f4bc5c1f 100644 --- a/docs/source/tutorial/local-state.mdx +++ b/docs/source/tutorial/local-state.mdx @@ -404,7 +404,7 @@ import * as GetCartItemsTypes from '../pages/__generated__/GetCartItems'; import * as BookTripsTypes from './__generated__/BookTrips'; export const BOOK_TRIPS = gql` - mutation BookTrips($launchIds: [ID]!) { + mutation BookTrips($launchIds: [ID!]!) { bookTrips(launchIds: $launchIds) { success message