Persist gql docs shown state

This commit is contained in:
Gregory Schier
2025-07-08 09:29:56 -07:00
parent a3f50a2bb7
commit a03ec8875c

View File

@@ -1,3 +1,3 @@
import { atom } from 'jotai';
import { atomWithKVStorage } from '../lib/atoms/atomWithKVStorage';
export const showGraphQLDocExplorerAtom = atom<boolean>(false);
export const showGraphQLDocExplorerAtom = atomWithKVStorage<boolean>('show_graphql_docs', false);