From 190f2c8fcf526c27b6af3dc1e7a4fe52dcde1f9c Mon Sep 17 00:00:00 2001 From: Mathias Wagner Date: Sun, 9 Jul 2023 00:28:36 +0200 Subject: [PATCH] Integrated the footer routes into the App.jsx --- src/App.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/App.jsx b/src/App.jsx index 364238f..bb95594 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -1,13 +1,14 @@ import {createBrowserRouter, RouterProvider} from "react-router-dom"; import Root from "@/common/layouts/Root"; import routes from "@/common/routes"; +import footerRoutes from "@/common/routes/footer.jsx"; import NotFound from "@/pages/NotFound"; const router = createBrowserRouter([ { path: "/", element: , - children: routes, + children: [...routes, ...footerRoutes], errorElement: } ]);