mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2024-11-19 09:50:15 +01:00
19 lines
528 B
TypeScript
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>
|
|
);
|