TD-718: Fix failed dynamically imported modules (#236)

This commit is contained in:
Ildar Galeev 2023-09-18 20:02:02 +03:00 committed by GitHub
parent 8210d383b9
commit 8577a0a003
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 9 deletions

View File

@ -7,6 +7,9 @@ import { findNamed } from 'checkout/utils';
import { device } from 'checkout/utils/device';
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';
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 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 PaymentTerminalSelectorForm = lazy(

View File

@ -48,7 +48,7 @@ const initSentry = async (dsn: string) => {
}),
new Replay(),
],
tracesSampleRate: 0.2,
tracesSampleRate: 0.1,
release: env.version,
replaysOnErrorSampleRate: 1.0,
replaysSessionSampleRate: 0.1,