Closed BRKalow closed 3 weeks ago
Latest commit: 93ec0589b622f28b32319a6dacd85e0f6e25c86f
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
Description
Fixes a reported issue where the following error was reported: https://nextjs.org/docs/messages/invalid-use-server-value
I'm not able to reproduce myself across a number of versions, but based on the documentation above, this function must be async, so I'm updating it.
Checklist
npm test
runs as expected.npm run build
runs as expected.Type of change