Commit 0009573d authored by isstuev's avatar isstuev

test

parent 56654f59
......@@ -316,6 +316,7 @@ frontend:
- "/api-docs"
- "/csv-export"
- "/verified-contracts"
- "/graphiql"
resources:
limits:
......
......@@ -364,6 +364,7 @@ frontend:
- "/api-docs"
- "/csv-export"
- "/verified-contracts"
- "/graphiql"
resources:
limits:
......
......@@ -39,6 +39,7 @@ frontend:
- "/api-docs"
- "/csv-export"
- "/verified-contracts"
- "/graphiql"
resources:
limits:
......
......@@ -39,6 +39,7 @@ frontend:
- "/api-docs"
- "/csv-export"
- "/verified-contracts"
- "/graphiql"
resources:
limits:
......
import { Spinner } from '@chakra-ui/react';
import type { NextPage } from 'next';
import dynamic from 'next/dynamic';
const GraphQL = dynamic(() => import('ui/graphQL/GraphQL'), {
loading: () => <Spinner/>,
ssr: false,
});
import React from 'react';
const GraphQLPage: NextPage = () => {
return null;
return <GraphQL/>;
};
export default GraphQLPage;
export async function getServerSideProps() {
return {
notFound: true,
};
}
export { getServerSideProps } from 'lib/next/getServerSideProps';
import { Box } from '@chakra-ui/react';
import { createGraphiQLFetcher } from '@graphiql/toolkit';
import { GraphiQL } from 'graphiql';
import React from 'react';
import 'graphiql/graphiql.css';
const GraphQL = () => {
const fetcher = createGraphiQLFetcher({
url: 'https://base-goerli.blockscout.com/graphiql',
});
return (
<Box h="100vh" sx={{}}>
<GraphiQL fetcher={ fetcher }/>
</Box>
);
};
export default GraphQL;
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment