Suddenly app throws " Cannot destructure property 'params' of 'param' as it is undefined"
Unanswered
Bonga shad posted this in #help-forum
Bonga shadOP
In a dynamic route, everything was fine and I was getting params.Id without any problem
I just added couple of new div elements to my component, there is no relation between params and these elements.
Now when this dynamic page renders, I see the dynamic content but it throws the error on the title.
It's just a simple dynamic page
export default async function page({ params})
Any idea?
I just added couple of new div elements to my component, there is no relation between params and these elements.
Now when this dynamic page renders, I see the dynamic content but it throws the error on the title.
It's just a simple dynamic page
export default async function page({ params})
Any idea?
1 Reply
give us a reproduction code