BlueWallet/navigation/LazyLoadWalletXpubStack.tsx

12 lines
306 B
TypeScript
Raw Normal View History

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