diff --git a/src/helpers/snapshot.ts b/src/helpers/snapshot.ts index c7c1a0b..f28bba1 100644 --- a/src/helpers/snapshot.ts +++ b/src/helpers/snapshot.ts @@ -63,7 +63,7 @@ const client = new ApolloClient({ }); const PROPOSAL_QUERY = gql` - query Proposal($id: String) { + query Proposal($id: String!) { proposal(id: $id) { id state @@ -117,7 +117,7 @@ const VOTE_QUERY = gql` `; const SPACE_QUERY = gql` - query Space($id: String) { + query Space($id: String!) { space(id: $id) { id network