Skip to content

Commit bf16a4a

Browse files
authored
Merge pull request Expensify#88563 from Expensify/claude-goBackToHomeNavigatesToHome
Navigate to Home instead of Inbox in goBackToHome
2 parents 1404fa5 + c5102ee commit bf16a4a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/libs/Navigation/Navigation.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -601,15 +601,15 @@ function goBackToHome() {
601601
const isNarrowLayout = getIsNarrowLayout();
602602

603603
// This set the right split navigator.
604-
goBack(ROUTES.INBOX);
604+
goBack(ROUTES.HOME);
605605

606606
// We want to keep the report screen in the split navigator on wide layout.
607607
if (!isNarrowLayout) {
608608
return;
609609
}
610610

611611
// This set the right route in this split navigator.
612-
goBack(ROUTES.INBOX);
612+
goBack(ROUTES.HOME);
613613
}
614614

615615
/**

0 commit comments

Comments
 (0)