BlueWallet/navigation/LazyLoadWalletXpubStack.tsx
Marcos Rodriguez Velez 4b85886892
REF: Xpub lazy
2024-05-09 21:30:25 -04:00

11 lines
305 B
TypeScript

import React, { lazy, Suspense } from 'react';
import { LazyLoadingIndicator } from './LazyLoadingIndicator';
const WalletXpub = lazy(() => import('../screen/wallets/xpub'));
export const WalletXpubComponent = () => (
<Suspense fallback={<LazyLoadingIndicator />}>
<WalletXpub />
</Suspense>
);