diff --git a/src-web/components/GraphQLDocsExplorer.tsx b/src-web/components/GraphQLDocsExplorer.tsx index ccc63b93..2ab85361 100644 --- a/src-web/components/GraphQLDocsExplorer.tsx +++ b/src-web/components/GraphQLDocsExplorer.tsx @@ -15,8 +15,10 @@ import { } from 'graphql'; import { useAtomValue } from 'jotai'; import { ReactNode, useState } from 'react'; -import { graphqlSchemaAtom } from '../atoms/graphqlSchemaAtom'; +import { graphqlDocStateAtom, graphqlSchemaAtom } from '../atoms/graphqlSchemaAtom'; +import { jotaiStore } from '../lib/jotai'; import { Icon } from './core/Icon'; +import { IconButton } from './core/IconButton'; import { Markdown } from './Markdown'; type ExplorerItem = @@ -43,7 +45,16 @@ export function GraphQLDocsExplorer() { const allTypes = graphqlSchema.getTypeMap(); return ( -