Skip to content

Commit

Permalink
remove basename from BrowserRouter
Browse files Browse the repository at this point in the history
  • Loading branch information
suejinkim20 committed Aug 23, 2024
1 parent 3bad53c commit daf3c0d
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 daf3c0d

Please sign in to comment.