Add isPreview field to router (#21638)
This adds an `isPreview` field to the `next/router` to allow detecting when in preview mode. Closes: https://github.com/vercel/next.js/issues/14903
Showing
Please
register
or
sign in
to comment
This adds an `isPreview` field to the `next/router` to allow detecting when in preview mode. Closes: https://github.com/vercel/next.js/issues/14903