Skip to content

Commit

Permalink
fix: react-navi error for Canterbury redirect (#3437)
Browse files Browse the repository at this point in the history
  • Loading branch information
DafyddLlyr authored Jul 18, 2024
1 parent 15786e7 commit eb9b358
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion editor.planx.uk/src/routes/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export default isPreviewOnlyDomain
})
: mount({
"/:team/:flow/published": lazy(() => import("./published")), // loads current published flow if exists, or throws Not Found if unpublished
"canterbury/find-out-if-you-need-planning-permission/preview": map(
"/canterbury/find-out-if-you-need-planning-permission/preview": map(
async (req) =>
redirect(
`/canterbury/find-out-if-you-need-planning-permission/published${req?.search}`,
Expand Down

0 comments on commit eb9b358

Please sign in to comment.