Skip to content

Commit

Permalink
chore: add backgroundLocation for device busy step
Browse files Browse the repository at this point in the history
  • Loading branch information
pete-watters committed May 15, 2024
1 parent d275ad7 commit e288d41
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/app/features/ledger/hooks/use-ledger-navigate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,10 @@ export function useLedgerNavigate() {
},

toDeviceBusyStep(description?: string) {
return navigate(RouteUrls.DeviceBusy, { replace: true, state: { description } });
return navigate(RouteUrls.DeviceBusy, {
replace: true,
state: { description, backgroundLocation: { pathname: RouteUrls.Home } },
});
},

toConnectionSuccessStep(chain: SupportedBlockchains) {
Expand Down

0 comments on commit e288d41

Please sign in to comment.