Fix for mutiny_wallet, handle new storage

This commit is contained in:
benthecarman
2023-05-06 14:15:01 -05:00
parent 1b3c73a40c
commit dfe87ce8a3
16 changed files with 105 additions and 106 deletions

View File

@@ -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>