Revert "Nextjs: Implement next redirect and the RedirectBoundary" #27025
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Reverts #26886
It's causing Next.js 13 to crash when building, presumably because the newly introduced import of
next/dist/client/components/redirect-status-code
doesn't exist in Next.js v13.See daily CI on
next
: https://app.circleci.com/pipelines/github/storybookjs/storybook/75729/workflows/08a3032b-2534-4a63-a9d5-d52ed13a6c66/jobs/653604/parallel-runs/17