mirror of
https://github.com/valitydev/checkout.git
synced 2024-11-06 10:35:20 +00:00
TD-718: Fix failed dynamically imported modules (#236)
This commit is contained in:
parent
8210d383b9
commit
8577a0a003
@ -7,6 +7,9 @@ import { findNamed } from 'checkout/utils';
|
|||||||
import { device } from 'checkout/utils/device';
|
import { device } from 'checkout/utils/device';
|
||||||
|
|
||||||
import { FormLoader } from './form-loader';
|
import { FormLoader } from './form-loader';
|
||||||
|
import NoAvailablePaymentMethodForm from './no-available-payment-method-form/no-available-payment-method-form';
|
||||||
|
import RedirectForm from './redirect-form/redirect-form';
|
||||||
|
import ResultForm from './result-form/result-form';
|
||||||
import { ModalContext } from '../../modal-context';
|
import { ModalContext } from '../../modal-context';
|
||||||
|
|
||||||
const Container = styled.div`
|
const Container = styled.div`
|
||||||
@ -40,14 +43,6 @@ const WalletForm = lazy(() => import('./wallet-form/wallet-form'));
|
|||||||
|
|
||||||
const WalletProviders = lazy(() => import('./wallet-providers/wallet-providers'));
|
const WalletProviders = lazy(() => import('./wallet-providers/wallet-providers'));
|
||||||
|
|
||||||
const ResultForm = lazy(() => import('./result-form/result-form'));
|
|
||||||
|
|
||||||
const NoAvailablePaymentMethodForm = lazy(
|
|
||||||
() => import('./no-available-payment-method-form/no-available-payment-method-form'),
|
|
||||||
);
|
|
||||||
|
|
||||||
const RedirectForm = lazy(() => import('./redirect-form/redirect-form'));
|
|
||||||
|
|
||||||
const PaymentTerminalForm = lazy(() => import('./payment-terminal-form/payment-terminal-form'));
|
const PaymentTerminalForm = lazy(() => import('./payment-terminal-form/payment-terminal-form'));
|
||||||
|
|
||||||
const PaymentTerminalSelectorForm = lazy(
|
const PaymentTerminalSelectorForm = lazy(
|
||||||
|
@ -48,7 +48,7 @@ const initSentry = async (dsn: string) => {
|
|||||||
}),
|
}),
|
||||||
new Replay(),
|
new Replay(),
|
||||||
],
|
],
|
||||||
tracesSampleRate: 0.2,
|
tracesSampleRate: 0.1,
|
||||||
release: env.version,
|
release: env.version,
|
||||||
replaysOnErrorSampleRate: 1.0,
|
replaysOnErrorSampleRate: 1.0,
|
||||||
replaysSessionSampleRate: 0.1,
|
replaysSessionSampleRate: 0.1,
|
||||||
|
Loading…
Reference in New Issue
Block a user