You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Should probably just convert this whole change method to async/await. That would solve it. Will PR after #14848 is merged. Will also take a look at other functions that have unnecessary promise constructor logic instead of leveraging async/await.
edit
async/await will blow up the bundle size. I just removed the Promise constructor in #14848. that should make it less prone to these sort of errors. Promise chains inside of a Promise constructor are an anti-pattern
This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.
vercel
locked as resolved and limited conversation to collaborators
Jan 29, 2022
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
As caught by @Janpot:
next.js/packages/next/next-server/lib/router/router.ts
Line 538 in fed7e09
The text was updated successfully, but these errors were encountered: