From 729dcff0f35a1dc0a80487e9b4636158cc60b12d Mon Sep 17 00:00:00 2001 From: Petter Hancock Date: Fri, 16 Feb 2024 08:15:18 +0100 Subject: [PATCH] feat: use hashrouter to support github pages --- src/core/routes/AppRoutes.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/routes/AppRoutes.tsx b/src/core/routes/AppRoutes.tsx index 188d233..866f877 100644 --- a/src/core/routes/AppRoutes.tsx +++ b/src/core/routes/AppRoutes.tsx @@ -1,12 +1,12 @@ /* eslint-disable @typescript-eslint/explicit-function-return-type */ import type { ReactElement } from "react"; -import { RouterProvider, Route, createBrowserRouter, createRoutesFromElements, Outlet } from "react-router-dom"; +import { RouterProvider, Route, createRoutesFromElements, Outlet, createHashRouter } from "react-router-dom"; import { GlobalRoutes } from "./GlobalRoutes"; export function AppRoutes(): ReactElement { return ( }>