Skip to content

Commit

Permalink
feat: hash router
Browse files Browse the repository at this point in the history
  • Loading branch information
BIYUEHU committed Jun 14, 2024
1 parent fb64472 commit 16465d1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/client/src/main.tsx
Original file line number Diff line number Diff line change
@@ -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 'antd/dist/reset.css';
import 'tailwindcss/tailwind.css';
import 'antd/dist/antd.min.js.LICENSE.txt';
Expand All @@ -14,8 +14,8 @@ notification.config({

ReactDOM.createRoot(document.getElementById('root')!).render(
<React.StrictMode>
<BrowserRouter>
<HashRouter>
<App />
</BrowserRouter>
</HashRouter>
</React.StrictMode>
);

0 comments on commit 16465d1

Please sign in to comment.