diff options
author | Thomas F. K. Jorna <[email protected]> | 2021-08-02 17:59:13 +0200 |
---|---|---|
committer | Thomas F. K. Jorna <[email protected]> | 2021-08-02 17:59:13 +0200 |
commit | e6cac81a1be089774161314430fce28c620d7573 (patch) | |
tree | 645f3b3918a9b633c0a26e9874358c073a446b56 /pages | |
parent | 177f4b38d2dcf59861198db1113a2cf7ef59f5d9 (diff) |
feature: make 3d persistant
Diffstat (limited to 'pages')
-rw-r--r-- | pages/index.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pages/index.tsx b/pages/index.tsx index 57924b8..4a178be 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -136,7 +136,7 @@ export function GraphPage() { const { setEmacsTheme } = useContext(ThemeContext) - const [threeDim, setThreeDim] = useState(false) + const [threeDim, setThreeDim] = usePersistantState('3d', false) const [scope, setScope] = useState<Scope>({ nodeIds: [] }) const scopeRef = useRef<Scope>({ nodeIds: [] }) const behaviorRef = useRef(initialBehavior) |