Implementing Tanstack query with NextJS #8264
Replies: 1 comment
-
Actually that's my bad All I had to do is this
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am still kinda new to the NextJS/Tanstack world and I just stumbled upon a weird problem
so that is my project structure
I have an issue with building my application ( it just works fine locally but if i build it to vercel it fails )
so i have a custom invoice id url that i am trying to use to fetch my data
so first i try to get my id from the params
and then inside invoicePage i am doing this and it just works perfectly
Once I try to build the app I am prompted with this:
Which leads me to believe that maybe the way i am trying to use the id from the url is not the correct way to do so?
has anybody experienced this before?
Beta Was this translation helpful? Give feedback.
All reactions