2024-05-11 12:50:06 -04:00
|
|
|
import React, { lazy, Suspense } from 'react';
|
|
|
|
import { LazyLoadingIndicator } from './LazyLoadingIndicator';
|
|
|
|
|
2024-05-17 17:49:00 -04:00
|
|
|
const PaymentCode = lazy(() => import('../screen/wallets/PaymentCode'));
|
|
|
|
const PaymentCodesList = lazy(() => import('../screen/wallets/PaymentCodesList'));
|
2024-05-11 12:50:06 -04:00
|
|
|
|
|
|
|
export const PaymentCodeComponent = () => (
|
|
|
|
<Suspense fallback={<LazyLoadingIndicator />}>
|
|
|
|
<PaymentCode />
|
|
|
|
</Suspense>
|
|
|
|
);
|
|
|
|
|
|
|
|
export const PaymentCodesListComponent = () => (
|
|
|
|
<Suspense fallback={<LazyLoadingIndicator />}>
|
|
|
|
<PaymentCodesList />
|
|
|
|
</Suspense>
|
|
|
|
);
|