From 04d5a7791eccfa9a273a1b6702c22633e2c2899f Mon Sep 17 00:00:00 2001 From: Respirayson Date: Sat, 9 Mar 2024 02:46:24 +0800 Subject: [PATCH] Change BrowserRouter to HashRouter --- src/main.jsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.jsx b/src/main.jsx index 5f5ce4a..e2604f5 100644 --- a/src/main.jsx +++ b/src/main.jsx @@ -2,14 +2,14 @@ import React from 'react'; import ReactDOM from 'react-dom/client'; import App from './App.jsx'; import './index.css'; -import { BrowserRouter } from 'react-router-dom'; +import { HashRouter } from 'react-router-dom'; ReactDOM.createRoot(document.getElementById('root')).render( - - + , );