From 070a6e38df4ca94f4d061c0e7ab91d8051dadf65 Mon Sep 17 00:00:00 2001 From: hujinwei Date: Tue, 22 Nov 2022 16:46:55 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=A4=9A=E4=BD=99=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/index.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/index.tsx b/src/index.tsx index d010c10..2c7ffbc 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1,6 +1,6 @@ import React from 'react'; import ReactDOM from 'react-dom/client'; -import { BrowserRouter } from 'react-router-dom' +import { HashRouter } from 'react-router-dom' import './index.css'; import App from './App'; import reportWebVitals from './reportWebVitals'; @@ -10,9 +10,9 @@ const root = ReactDOM.createRoot( ); root.render( - + - + );