mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2024-11-19 01:40:12 +01:00
14 lines
372 B
TypeScript
14 lines
372 B
TypeScript
import React, { lazy, Suspense } from 'react';
|
|
|
|
import { LazyLoadingIndicator } from './LazyLoadingIndicator';
|
|
|
|
const PaymentCodesList = lazy(() => import('../screen/wallets/PaymentCodesList'));
|
|
|
|
const PaymentCodesListComponent = () => (
|
|
<Suspense fallback={<LazyLoadingIndicator />}>
|
|
<PaymentCodesList />
|
|
</Suspense>
|
|
);
|
|
|
|
export default PaymentCodesListComponent;
|