score:2

Accepted answer
 const handleClick = (props) => {
   navigate(`/edit/${props}`);
 };

Related Query

More Query from same tag