How to fix my code in react-router-dom v6 – Javascript
My error: No routes matched location "/" history.ts:487 <Route render={(history) => <Search history={history}/>}></Route> <Routes> <Route render={(history) => <Search history={history} />}></Route> </Routes>