how to pass an id to the route of a seprate file react code example
Example: how to pass an id to the route of a seprate file react
{ key: 'update-product', path: '/admin/update-product/:id' },
{ key: 'update-product', path: '/admin/update-product/:id' },