Skip to content

Commit

Permalink
Add isRedirectError to navigation exports
Browse files Browse the repository at this point in the history
  • Loading branch information
IanMitchell committed Oct 31, 2023
1 parent e0cf4e2 commit 0b2936c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/next/src/client/components/navigation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -245,5 +245,10 @@ export function useSelectedLayoutSegment(
return selectedLayoutSegments[0]
}

export { redirect, permanentRedirect, RedirectType } from './redirect'
export {
redirect,
isRedirectError,
permanentRedirect,
RedirectType,
} from './redirect'
export { notFound } from './not-found'

0 comments on commit 0b2936c

Please sign in to comment.