From 885f896aea89b18cf130adef675c6e6092570163 Mon Sep 17 00:00:00 2001 From: paulkreft Date: Thu, 1 Feb 2024 16:31:01 +0100 Subject: [PATCH] add basic not found route --- frontend/src/App.tsx | 2 ++ frontend/src/components/not-found.tsx | 3 +++ 2 files changed, 5 insertions(+) create mode 100644 frontend/src/components/not-found.tsx diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index ce8dc79..9984815 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -1,6 +1,7 @@ import "./App.css"; import { Route, Routes } from "react-router-dom"; import Home from "./components/home.tsx"; +import NotFound from "./components/not-found.tsx"; function App() { return ( @@ -8,6 +9,7 @@ function App() {
} /> + } />
diff --git a/frontend/src/components/not-found.tsx b/frontend/src/components/not-found.tsx new file mode 100644 index 0000000..43a1a7f --- /dev/null +++ b/frontend/src/components/not-found.tsx @@ -0,0 +1,3 @@ +export default function NotFound() { + return
Not Found
; +}