Here is my folder structure
I was following nextjs docs to make modal as their nextgram example, I list items on feedback route when i hit one of them it should be routing local/feedback to local/product/slug yet it gives multiple errors like this
Warning: Cannot update a component (
HotReload
) while rendering a different component (Router
). To locate the bad setState() call insideRouter
, follow the stack trace as described in
Uncaught TypeError: initialTree is not iterable
The above error occurred in the component:at Router
Thanks for any help..