Skip to content

Commit

Permalink
🐛 (mobile) redirect to budget page for all 404 (#1721)
Browse files Browse the repository at this point in the history
  • Loading branch information
MatissJanis authored Sep 22, 2023
1 parent 9a900f9 commit ba5174d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/desktop-client/src/components/FinancesApp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,9 @@ function FinancesApp() {
</WideNotSupported>
}
/>

{/* redirect all other traffic to the budget page */}
<Route path="/*" element={<Navigate to="/budget" replace />} />
</Routes>

<Modals />
Expand Down
6 changes: 6 additions & 0 deletions upcoming-release-notes/1721.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
category: Bugfix
authors: [MatissJanis]
---

Redirect back to budget page if non-existing pages accessed

0 comments on commit ba5174d

Please sign in to comment.