summaryrefslogtreecommitdiff
path: root/pages/index.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'pages/index.tsx')
-rw-r--r--pages/index.tsx2
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)