Next.js Discord

Discord Forum

router cache

Unanswered
Northeast Congo Lion posted this in #help-forum
Open in Discord
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

1 Reply