React Router Function Not Getting Props Forked Codesandbox

React Router Function Not Getting Props Forked Codesandbox