Dynamic routes in react router v6

Please how do I match the coinId in this code, I’m using react router version 6, and it’s not delivering.

<Routes>
  <Route path='/crypto/:coinId element={<Crypto details />} />
</Routes>

Please I’d really appreciate your help, the code above is from version 5