Open pritipsingh opened 1 year ago
If possible can I work on this issue?
you can use Routes instead of using Switch in react-router-dom package. you can have an example as
<BrowserRouter>
<Routes>
<Route path="/" element={<Home />} />
</Routes>
</BrowserRouter>
Switch and other methods have been deprecated. They no longer support it. It needs to be updated with - Routes