A local-first personal finance app
:bug: (mobile) redirect to budget page for all 404 (#1721)
Matiss Janis Aboltinsba5174ddfa9f
diff --git a/packages/desktop-client/src/components/FinancesApp.tsx b/packages/desktop-client/src/components/FinancesApp.tsxindex 26f3852e41..c3e82793c0 100644--- a/packages/desktop-client/src/components/FinancesApp.tsx+++ b/packages/desktop-client/src/components/FinancesApp.tsx@@ -274,6 +274,9 @@ function FinancesApp() {</WideNotSupported>}/>++ {/* redirect all other traffic to the budget page */}+ <Route path="/*" element={<Navigate to="/budget" replace />} /></Routes><Modals />diff --git a/upcoming-release-notes/1721.md b/upcoming-release-notes/1721.mdnew file mode 100644index 0000000000..125a81abd6--- /dev/null+++ b/upcoming-release-notes/1721.md@@ -0,0 +1,6 @@+---+category: Bugfix+authors: [MatissJanis]+---++Redirect back to budget page if non-existing pages accessed