Skip to content

Commit

Permalink
using goBack instead navigate
Browse files Browse the repository at this point in the history
  • Loading branch information
burczu committed Jan 30, 2025
1 parent 69b22f1 commit 65a0be4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/settings/Wallet/ReportVirtualCardFraudPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ function ReportVirtualCardFraudPage({
<ScreenWrapper testID={ReportVirtualCardFraudPage.displayName}>
<HeaderWithBackButton
title={translate('reportFraudPage.title')}
onBackButtonPress={() => Navigation.navigate(ROUTES.SETTINGS_WALLET_DOMAINCARD.getRoute(cardID))}
onBackButtonPress={() => Navigation.goBack(ROUTES.SETTINGS_WALLET_DOMAINCARD.getRoute(cardID))}
/>
<View style={[styles.flex1, styles.justifyContentBetween]}>
<Text style={[styles.webViewStyles.baseFontStyle, styles.mh5]}>{translate('reportFraudPage.description')}</Text>
Expand Down

0 comments on commit 65a0be4

Please sign in to comment.