From 985fa2f7c99832cdf3c3351d2273c8fd05402b78 Mon Sep 17 00:00:00 2001 From: polwex Date: Wed, 17 Sep 2025 21:45:18 +0700 Subject: basic comms working --- front/src/App.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'front/src/App.tsx') diff --git a/front/src/App.tsx b/front/src/App.tsx index f921bbf..415cb66 100644 --- a/front/src/App.tsx +++ b/front/src/App.tsx @@ -14,7 +14,10 @@ const queryClient = new QueryClient(); function App() { const [loading, setLoading] = useState(true); console.log("NOSTRILL INIT"); - const { init, modal } = useLocalState(); + const { init, modal } = useLocalState((s) => ({ + init: s.init, + modal: s.modal, + })); useEffect(() => { init().then((_res: any) => { setLoading(false); -- cgit v1.2.3