Skip to content

Commit

Permalink
vite config changes commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jibin.p committed Aug 7, 2024
1 parent 8c953a4 commit 868d38a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const App = () => {

return (

<Router>
<Router basename='/mechanfo-eats-dashboard/'>
<Routes>
<Route path="/send-otp" element={<RouteWrapper><SendOtp /></RouteWrapper>} />
<Route path="/verify-otp" element={<RouteWrapper><VerifyOtp /></RouteWrapper>} />
Expand Down
3 changes: 2 additions & 1 deletion src/main.jsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import React from 'react'
import ReactDOM from 'react-dom/client'
import App from './App.jsx'
import { BrowserRouter } from 'react-router-dom'

ReactDOM.createRoot(document.getElementById('root')).render(
<React.StrictMode>
<App />
<App />
</React.StrictMode>,
)

0 comments on commit 868d38a

Please sign in to comment.