router cache
Unanswered
Northeast Congo Lion posted this in #help-forum
Northeast Congo LionOP
I am already putting everything that uses useSearchParams in a client component, and it's in the suspense boundary as requested, yet it keeps throwing the error during build.
⨯ useSearchParams() should be wrapped in a suspense boundary at page "/tokens". Read more: https://nextjs.org/docs/messages/missing-suspense-with-csr-bailout
From my understanding I am already doing everything correct
Any help would be much appreciated
⨯ useSearchParams() should be wrapped in a suspense boundary at page "/tokens". Read more: https://nextjs.org/docs/messages/missing-suspense-with-csr-bailout
From my understanding I am already doing everything correct
Any help would be much appreciated
1 Reply
@Northeast Congo Lion I am already putting everything that uses useSearchParams in a client component, and it's in the suspense boundary as requested, yet it keeps throwing the error during build.
⨯ useSearchParams() should be wrapped in a suspense boundary at page "/tokens". Read more: https://nextjs.org/docs/messages/missing-suspense-with-csr-bailout
From my understanding I am already doing everything correct
Any help would be much appreciated
your code looks fine. can you make a [minimal repro repo](https://l.joulev.dev/mrr)?