diff options
| author | polwex <polwex@sortug.com> | 2025-11-18 16:59:24 +0700 |
|---|---|---|
| committer | polwex <polwex@sortug.com> | 2025-11-18 16:59:24 +0700 |
| commit | 420a543f8af3075502b0a7530a0fa06af264eb8b (patch) | |
| tree | 7446a8c59bd4b66ca2bb5ed04bce40d382e31c36 /gui/src/App.tsx | |
| parent | 76f99af3c98a689441315b5ed087c4b83c083191 (diff) | |
refactoring gui too, improvements to Nostr user logic
Diffstat (limited to 'gui/src/App.tsx')
| -rw-r--r-- | gui/src/App.tsx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gui/src/App.tsx b/gui/src/App.tsx index 415cb66..28398e4 100644 --- a/gui/src/App.tsx +++ b/gui/src/App.tsx @@ -14,9 +14,8 @@ const queryClient = new QueryClient(); function App() { const [loading, setLoading] = useState(true); console.log("NOSTRILL INIT"); - const { init, modal } = useLocalState((s) => ({ + const { init } = useLocalState((s) => ({ init: s.init, - modal: s.modal, })); useEffect(() => { init().then((_res: any) => { @@ -36,7 +35,6 @@ function App() { <QueryClientProvider client={queryClient}> {/* {isMobile ? <MobileUI /> : <DesktopUI />} */} <Router /> - {modal && modal} <Toaster position="top-center" /> </QueryClientProvider> </ThemeProvider> |
