Skip to content

Commit

Permalink
Merge pull request #33 from fabric-testbed/develop
Browse files Browse the repository at this point in the history
Use Hash Router
  • Loading branch information
suejinkim20 authored Sep 9, 2024
2 parents dcbcfe1 + d7af449 commit 3814788
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 3814788

Please sign in to comment.