From 0049060eff732842f32945d6b274c64e30824e1c Mon Sep 17 00:00:00 2001 From: Mathias Wagner Date: Fri, 7 Jul 2023 01:09:23 +0200 Subject: [PATCH] Updated the App.jsx --- src/App.jsx | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/src/App.jsx b/src/App.jsx index bd273c6..364238f 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -1,9 +1,16 @@ -const App = () => { - return ( - <> -

Work in Progress

- - ) -} +import {createBrowserRouter, RouterProvider} from "react-router-dom"; +import Root from "@/common/layouts/Root"; +import routes from "@/common/routes"; +import NotFound from "@/pages/NotFound"; -export default App +const router = createBrowserRouter([ + { + path: "/", + element: , + children: routes, + errorElement: + } +]); + +const App = () => ; +export default App; \ No newline at end of file