Skip to content

Commit

Permalink
redirect to home page if not found
Browse files Browse the repository at this point in the history
  • Loading branch information
SKairinos committed Sep 17, 2024
1 parent 3a540ee commit 13957bb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/routes/index.tsx
Original file line number Diff line number Diff line change
@@ -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}
<Route path="*" element={<Navigate to={paths._} replace />} />
</>
)

Expand Down

0 comments on commit 13957bb

Please sign in to comment.