Skip to content
This repository has been archived by the owner on Aug 18, 2023. It is now read-only.

Commit

Permalink
chore: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanHotsiy committed Feb 21, 2022
1 parent 9c82628 commit c3e1eed
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions graphiql/graphiql.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,12 @@ export default LandingLayout;

<GraphiQL
fetcher={
createGraphiQLFetcher({
url: window.location.origin + '/graphql',
})}
typeof window !== "undefined"
? createGraphiQLFetcher({
url: window.location.origin + "/graphql",
})
: undefined
}
editorTheme={'dracula'}
schema={buildSchema(rawSchema)}
/>
/>

0 comments on commit c3e1eed

Please sign in to comment.