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>
Showing
Please
register
or
sign in
to comment