BlueWallet/navigation/LazyLoadWalletXpubStack.tsx
2024-05-21 11:56:10 +01:00

12 lines
306 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>
);