mirror of
https://github.com/aljazceru/mutiny-web.git
synced 2026-01-17 13:14:21 +01:00
only show reload prompt in actual wallet
This commit is contained in:
@@ -3,7 +3,6 @@ import App from "~/components/App";
|
||||
import { Switch, Match } from "solid-js";
|
||||
import { WaitlistAlreadyIn } from "~/components/waitlist/WaitlistAlreadyIn";
|
||||
import WaitlistForm from "~/components/waitlist/WaitlistForm";
|
||||
import ReloadPrompt from "~/components/Reload";
|
||||
import { useMegaStore } from "~/state/megaStore";
|
||||
import LoadingSpinner from "~/components/LoadingSpinner";
|
||||
|
||||
@@ -20,8 +19,6 @@ export default function Home() {
|
||||
|
||||
return (
|
||||
<>
|
||||
<ReloadPrompt />
|
||||
|
||||
<Switch fallback={<FullscreenLoader />} >
|
||||
{/* TODO: might need this state.node_manager guard on all wallet routes */}
|
||||
<Match when={state.user_status === "approved" && state.node_manager}>
|
||||
|
||||
Reference in New Issue
Block a user