From 13957bb586fab0618bbab9525fe04f6e39343d1e Mon Sep 17 00:00:00 2001 From: SKairinos Date: Tue, 17 Sep 2024 09:40:02 +0000 Subject: [PATCH] redirect to home page if not found --- src/routes/index.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/routes/index.tsx b/src/routes/index.tsx index 70e1008..12445b4 100644 --- a/src/routes/index.tsx +++ b/src/routes/index.tsx @@ -1,10 +1,14 @@ +import { Navigate, Route } from "react-router-dom" + import agreementSignature from "./agreementSignature" import general from "./general" +import paths from "./paths" const routes = ( <> {general} {agreementSignature} + } /> )