mirror of
https://github.com/aljazceru/mutiny-web.git
synced 2025-12-24 01:24:28 +01:00
Fix for mutiny_wallet, handle new storage
This commit is contained in:
@@ -71,11 +71,11 @@ export const FullscreenLoader = () => {
|
||||
);
|
||||
}
|
||||
|
||||
export const MutinyManagerGuard: ParentComponent = (props) => {
|
||||
export const MutinyWalletGuard: ParentComponent = (props) => {
|
||||
const [state, _] = useMegaStore();
|
||||
return (
|
||||
<Suspense fallback={<FullscreenLoader />}>
|
||||
<Show when={state.mutiny_manager}>
|
||||
<Show when={state.mutiny_wallet}>
|
||||
{props.children}
|
||||
</Show>
|
||||
</Suspense>
|
||||
|
||||
Reference in New Issue
Block a user