next.js
cdd366fd - Fix usage of `router.refresh()` with Draft Mode in App Router (#50941)

Commit
2 years ago
Fix usage of `router.refresh()` with Draft Mode in App Router (#50941) After enabling Draft Mode, `router.refresh()` was incorrectly causing the page to crash and do a full page refresh. This PR fixes this case. Co-authored-by: Steven <229881+styfle@users.noreply.github.com>
Author
Parents
Loading