Skip to content

Commit

Permalink
fix app routs
Browse files Browse the repository at this point in the history
  • Loading branch information
Victoria-Fedkova committed Sep 25, 2023
1 parent 570bb2d commit b9d6051
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/main.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,7 @@ ReactDOM.createRoot(document.getElementById('root')).render(
<React.StrictMode>
<Provider store={store}>
<PersistGate loading={null} persistor={persistor}>
<BrowserRouter
basename={
import.meta.env.DEV ? '/' : '/react-vite-project-template-js/'
}
>
<BrowserRouter basename={import.meta.env.DEV ? '/' : '/wheels4rent/'}>
<GlobalStyle />
<App />
</BrowserRouter>
Expand Down

0 comments on commit b9d6051

Please sign in to comment.