Since the last update to react-router-dom v6, I cannot do what i used to do for passing multiple params to the route.
And there is a stackoverflow question about this issue but it is outdated. Multiple params with React Router
My approach
<Route path="prodList">
<Route path=":category" element={<ProdMain />} />
<Route path=":category/:keyword" element={<ProdMain />} />
</Route>
Before the update simply this was possible:
path="/user/manage/:id/:type"