Skip to content

The open alternative to Salesforce, designed for AI.

Fix broken GraphiQL in documentation (#180)

Félix Malfaitf906533b294d
diff --git a/docs/src/pages/graphql.js b/docs/src/pages/graphql.js
index 6227e41ed25..16e3dd17ddc 100644
--- a/docs/src/pages/graphql.js
+++ b/docs/src/pages/graphql.js
@@ -19,7 +19,7 @@ export default function graphQL() {
<Layout title="Hello" description="Hello React Page">
<div className="fullHeightPlayground">
<BrowserOnly>
- <GraphiQLComponent />
+ {() => <GraphiQLComponent />}
</BrowserOnly>
</div>
</Layout>