Skip to content

Commit

Permalink
Merge pull request #23 from fabric-testbed/update/develop
Browse files Browse the repository at this point in the history
remove basename from BrowserRouter
  • Loading branch information
suejinkim20 authored Aug 23, 2024
2 parents 20bcff5 + daf3c0d commit 0abb1af
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@ const root = createRoot(container)

const ProvisionedApp = () => (
<CssVarsProvider theme={ theme }>
<BrowserRouter basename={
process.env.NODE_ENV !== 'production'
? '' : '/knit-website'
}>
<BrowserRouter>
<App />
</BrowserRouter>
</CssVarsProvider>
Expand Down

0 comments on commit 0abb1af

Please sign in to comment.