Skip to content

Commit

Permalink
fix: router
Browse files Browse the repository at this point in the history
  • Loading branch information
zvoosh committed Mar 7, 2024
1 parent 1da49d3 commit 060bf05
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ 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(
<React.StrictMode>
<BrowserRouter basename='/Chinese-Cultural-Evolution/' >
<HashRouter basename='/Chinese-Cultural-Evolution/' >
<App />
</BrowserRouter>
</HashRouter >
</React.StrictMode>,
)

0 comments on commit 060bf05

Please sign in to comment.