navigate back to accounts page insted of account type page

This commit is contained in:
Blake Kaufman
2026-02-17 20:43:26 -05:00
parent 1972729747
commit 04304da86f
2 changed files with 6 additions and 2 deletions
@@ -188,7 +188,9 @@ export default function CreateCustodyAccountPage(props) {
}
setIsCreatingAccount(false);
navigate.goBack();
navigate.popTo('SettingsContentHome', {
for: 'Accounts',
});
} catch (err) {
console.log('Create custody account error', err);
setIsCreatingAccount(false);
@@ -64,7 +64,9 @@ export default function RestoreDerivedAccountPage() {
if (result.didWork) {
// Navigate back to show the restored account
navigate.goBack();
navigate.popTo('SettingsContentHome', {
for: 'Accounts',
});
} else {
navigate.navigate('ErrorScreen', {
errorMessage: