From 54ee7befeded860bc41af0d4693e372cdf71e432 Mon Sep 17 00:00:00 2001 From: JayJay1024 Date: Tue, 5 Nov 2024 16:44:11 +0800 Subject: [PATCH] Change to browser router --- apps/helixbox-home/src/router.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/helixbox-home/src/router.tsx b/apps/helixbox-home/src/router.tsx index 33fa6e73..44721320 100644 --- a/apps/helixbox-home/src/router.tsx +++ b/apps/helixbox-home/src/router.tsx @@ -1,11 +1,11 @@ -import { createHashRouter } from "react-router-dom"; +import { createBrowserRouter } from "react-router-dom"; import NotFound from "./routes/not-found"; import Error from "./routes/error"; import Home from "./routes/home"; import Solver from "./routes/solver"; import Layout from "./layout"; -export const router = createHashRouter([ +export const router = createBrowserRouter([ { path: "/", element: ,