Add NotFound page

This commit is contained in:
1ilit
2024-04-06 13:59:39 +03:00
parent c2319afcd3
commit d8fd3292b7
2 changed files with 28 additions and 0 deletions

View File

@@ -8,6 +8,7 @@ import { useEffect, useLayoutEffect } from "react";
import LandingPage from "./pages/LandingPage";
import SettingsContextProvider from "./context/SettingsContext";
import useSettings from "./hooks/useSettings";
import NotFound from "./pages/NotFound";
export default function App() {
return (
@@ -49,6 +50,7 @@ export default function App() {
}
/>
<Route path="/templates" element={<Templates />} />
<Route path="*" element={<NotFound />} />
</Routes>
</BrowserRouter>
</SettingsContextProvider>