I have created a custom route
<Route
path="/course-plan/:plan_id/plan-lesson/:id"
render={props => {
return <LessonEditPage
{...props}
resource={'plan-lesson'}
record={{planId: props.match.params.plan_id}}
/>
}}
/>,
LessonEditPage has and Edit component with SimpleForm
When I enter this page, I make a request crudGetOne
and locally everything is fine, I have and id in my parameters that I use to make request, but when I deploy this code on server, when I enter this page params.id
is undefined
I have no idea why and what can be the problem