This is the same fix from https://github.com/vercel/next.js/pull/15729 - Adding it in a new PR as I can't update the current one. Closes #15729 Fixes #15676
[ch2580] **Demo:** https://next-blog-buttercms.now.sh/ **Preview Mode:** https://next-blog-buttercms.now.sh/api/preview?secret=CdEAKMRT4tAwzqiD&slug=draft-post-test