Skip to content

Commit b81afff

Browse files
Fix not here page after deleting imported card
Navigate to the wallet settings route before optimistically removing the card from Onyx, matching the header back button behavior. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 1f6cc0e commit b81afff

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/pages/settings/Wallet/PersonalCardDetailsPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ function PersonalCardDetailsPage({route}: PersonalCardDetailsPageProps) {
114114
if (result.action !== ModalActions.CONFIRM) {
115115
return;
116116
}
117-
Navigation.goBack();
117+
Navigation.goBack(ROUTES.SETTINGS_WALLET);
118118
const savedColumnLayout = savedColumnLayouts?.[card.cardID];
119119
deletePersonalCard({cardID: card.cardID, card, allTransactions, allReports, savedColumnLayout});
120120
});

0 commit comments

Comments
 (0)