BlueWallet/navigation/LazyLoadAztecoRedeemStack.tsx
Marcos Rodriguez Velez 959ba17fd5
REF: SelectWallet to TSX
2024-06-08 12:01:56 -04:00

19 lines
528 B
TypeScript

import React, { lazy, Suspense } from 'react';
import { LazyLoadingIndicator } from './LazyLoadingIndicator';
const AztecoRedeem = lazy(() => import('../screen/receive/aztecoRedeem'));
const SelectWallet = lazy(() => import('../screen/wallets/SelectWallet'));
export const AztecoRedeemComponent = () => (
<Suspense fallback={<LazyLoadingIndicator />}>
<AztecoRedeem />
</Suspense>
);
export const SelectWalletComponent = () => (
<Suspense fallback={<LazyLoadingIndicator />}>
<SelectWallet />
</Suspense>
);