Error: async/await is not yet supported in Client Components... with useless Call Stack #71573
Unanswered
CaptainN
asked this question in
App Router
Replies: 0 comments
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.
-
In case anyone sees this useless error - it happens when you have your site set up for Suspense, but don't have an appropriate Suspense wrapper set up in your route. You can fix it by adding Suspense - the error message is not super helpful.
Feel free to make a reproduction. I triggered this most recently on a page which doesn't actually do any client loading, but does use Payload's
useLivePreviewhook. If I can find some time, I'll make a repro - but this is probably enough to just get it documented for now.Beta Was this translation helpful? Give feedback.
All reactions