BlueWallet/navigation/LazyLoadWalletXpubStack.tsx

12 lines
306 B
TypeScript
Raw Normal View History

2024-05-09 21:30:25 -04:00
import React, { lazy, Suspense } from 'react';
2024-05-20 10:54:13 +01:00
2024-05-09 21:30:25 -04:00
import { LazyLoadingIndicator } from './LazyLoadingIndicator';
const WalletXpub = lazy(() => import('../screen/wallets/xpub'));
export const WalletXpubComponent = () => (
<Suspense fallback={<LazyLoadingIndicator />}>
<WalletXpub />
</Suspense>
);