From 8e62a91601a2b9782db952fe6a8e64ef153c3288 Mon Sep 17 00:00:00 2001 From: "Thomas F. K. Jorna" Date: Sun, 25 Jul 2021 02:17:34 +0200 Subject: 3d's back baby --- pages/index.tsx | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/pages/index.tsx b/pages/index.tsx index a60ecd5..22adb3f 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -205,7 +205,7 @@ export function GraphPage() { } return ( -
+ {showTweaks ? ( )} + -
+ ) } @@ -357,13 +368,13 @@ export interface TweakProps { physics: typeof initialPhysics setPhysics: any threeDim: boolean - setTreedim: (boolean) => void + setThreedim: (boolean) => void filter: typeof initialFilter setFilter: any onClose: () => void } export const Tweaks = (props: TweakProps) => { - const { physics, setPhysics, threeDim, setThreeDim, filter, setFilter, onClose } = props + const { physics, setPhysics, threeDim, filter, setFilter, onClose } = props return (