diff --git a/src/app/UserItemsPage.js b/src/app/UserItemsPage.js index 9344bc0..d919bf0 100644 --- a/src/app/UserItemsPage.js +++ b/src/app/UserItemsPage.js @@ -59,7 +59,7 @@ function UserItemsPage() { const { loading, error, data } = useQuery( gql` - query ItemsPage($userId: ID!) { + query UserItemsPage($userId: ID!) { user(id: $userId) { id username