diff --git a/src/main.jsx b/src/main.jsx index 85fc91d..c26a001 100644 --- a/src/main.jsx +++ b/src/main.jsx @@ -2,7 +2,7 @@ import React from "react"; import { createRoot } from "react-dom/client"; import App from "./App.jsx"; import "./index.css"; -import { RouterProvider, createBrowserRouter } from "react-router-dom"; +import { RouterProvider, createHashRouter } from "react-router-dom"; import NotFound404 from "utils/NotFound404/NotFound404.jsx"; import Home from "pages/Home/Home.jsx"; import Team from "pages/Team/Team.jsx"; @@ -28,13 +28,13 @@ const routes = [ }, ], }, - // { - // path: "*", - // element: , - // }, + { + path: "*", + element: , + }, ]; -const router = createBrowserRouter(routes); +const router = createHashRouter(routes); createRoot(document.getElementById("root")).render(