From 74779811c868171194f7b6e8cbd39eb1a6c4331b Mon Sep 17 00:00:00 2001 From: David Linhardt Date: Mon, 10 Jun 2024 15:11:58 +0200 Subject: [PATCH] add wildcard route to match all unmatched routes --- src/App.tsx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/App.tsx b/src/App.tsx index 5116398..f27d5cb 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -38,7 +38,7 @@ export default function App() { + } /> } /> + {/* Catch all unmatched routes and redirect to login page */} + + } + />