score:0

state: price

score:0

import { useLocation } from 'react-router-dom';

 const location = useLocation();
  
  console.log(location.state.prix);

Related Query

More Query from same tag