Closed BRKalow closed 1 year ago
Run & review this pull request in StackBlitz Codeflow.
Latest commit: d49aed1681d41180fd7cc46bd7daff91db8cb4b9
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
@BRKalow is attempting to deploy a commit to the HappyKit Team on Vercel.
A member of the Team first needs to authorize it.
In Next 13,
cookies.get()
returns an object of the shape{ name, value}
(docs). This fix updates the logic to handle this so using flags in middleware works as expected when a visitor already has ahkvk
cookie.