mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-22 15:04:50 +01:00
17 lines
559 B
TypeScript
17 lines
559 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')); // Assuming the path is correct
|
|
|
|
export const AztecoRedeemComponent = () => (
|
|
<Suspense fallback={<LazyLoadingIndicator />}>
|
|
<AztecoRedeem />
|
|
</Suspense>
|
|
);
|
|
|
|
export const SelectWalletComponent = () => (
|
|
<Suspense fallback={<LazyLoadingIndicator />}>
|
|
<SelectWallet />
|
|
</Suspense>
|
|
);
|