Fix website docs (#5873)

There was a 500 on the playground and the switch between core and
metadata
This commit is contained in:
Félix Malfait
2024-06-14 19:05:48 +02:00
committed by GitHub
parent 9c8407c197
commit 99f4a75b58
3 changed files with 15 additions and 3 deletions

View File

@ -1,6 +1,11 @@
'use client';
import React from 'react';
import dynamic from 'next/dynamic';
import GraphQlPlayground from '../../../_components/playground/graphql-playground';
const GraphQlPlayground = dynamic(
() => import('../../../_components/playground/graphql-playground'),
{ ssr: false },
);
const CoreGraphql = () => {
return <GraphQlPlayground subDoc={'core'} />;

View File

@ -1,6 +1,11 @@
'use client';
import React from 'react';
import dynamic from 'next/dynamic';
import GraphQlPlayground from '../../../_components/playground/graphql-playground';
const GraphQlPlayground = dynamic(
() => import('../../../_components/playground/graphql-playground'),
{ ssr: false },
);
const CoreGraphql = () => {
return <GraphQlPlayground subDoc={'metadata'} />;