Skip to content

Commit

Permalink
switch BrowserRouter to HashRouter
Browse files Browse the repository at this point in the history
  • Loading branch information
suejinkim20 committed Sep 9, 2024
1 parent db62dbb commit bcafe38
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { App } from './app'
import { createRoot } from 'react-dom/client'
import { BrowserRouter } from 'react-router-dom'
import { HashRouter } from 'react-router-dom'
import { CssVarsProvider } from '@mui/joy/styles'
import { theme } from './theme'

Expand All @@ -9,9 +9,9 @@ const root = createRoot(container)

const ProvisionedApp = () => (
<CssVarsProvider theme={ theme }>
<BrowserRouter>
<HashRouter>
<App />
</BrowserRouter>
</HashRouter>
</CssVarsProvider>
)

Expand Down

0 comments on commit bcafe38

Please sign in to comment.