Skip to content

Commit ea88782

Browse files
authored
make the sidebar and code disabled by default (#2240)
1 parent 2205f31 commit ea88782

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

apps/typegpu-docs/src/utils/examples/exampleViewStateAtoms.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ import { atomWithStorage } from 'jotai/utils';
22

33
const storageOptions = { getOnInit: true };
44

5-
export const menuShownAtom = atomWithStorage('menu-shown', true, undefined, storageOptions);
5+
export const menuShownAtom = atomWithStorage('menu-shown', false, undefined, storageOptions);
66

77
export const codeEditorShownAtom = atomWithStorage(
88
'code-editor-shown',
9-
true,
9+
false,
1010
undefined,
1111
storageOptions,
1212
);

0 commit comments

Comments
 (0)