Next.js Discord

Discord Forum

matterport and next.js

Unanswered
Gray Vireo posted this in #help-forum
Open in Discord
Gray VireoOP
I am having an issue with my matterport next application. I am using the matterport web component in my next.js where it is housed in the assets file. what is happening is when i try to route from the Matterport page to another page I get an error say values are undefined. i am pretty sure that what is happening is that the value are cached and when i go to another page it clears everything which throws an error is there an way to bypass this error and add an extras value to the useRouter so that the value dont throw an error?

0 Replies