Skip to content

Commit

Permalink
Merge pull request #46936 from nkdengineer/fix/46146
Browse files Browse the repository at this point in the history
  • Loading branch information
blimpich authored Aug 28, 2024
2 parents 4cbe434 + 07bd8a1 commit de6a214
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,9 @@ import HeaderWithBackButton from '@components/HeaderWithBackButton';
import Modal from '@components/Modal';
import ScreenWrapper from '@components/ScreenWrapper';
import useThemeStyles from '@hooks/useThemeStyles';
import Navigation from '@libs/Navigation/Navigation';
import * as PaymentMethods from '@userActions/PaymentMethods';
import CONST from '@src/CONST';
import ONYXKEYS from '@src/ONYXKEYS';
import ROUTES from '@src/ROUTES';

type CardAuthenticationModalProps = {
/** Title shown in the header of the modal */
Expand All @@ -26,7 +24,6 @@ function CardAuthenticationModal({headerTitle}: CardAuthenticationModalProps) {
const onModalClose = useCallback(() => {
setIsVisible(false);
PaymentMethods.clearPaymentCard3dsVerification();
Navigation.navigate(ROUTES.SETTINGS_SUBSCRIPTION);
}, []);

useEffect(() => {
Expand Down

0 comments on commit de6a214

Please sign in to comment.