From 2c53485505f0cec51c3d672b14ee1cd8923afab9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dafydd=20Ll=C5=B7r=20Pearson?= Date: Wed, 17 Jul 2024 17:23:22 +0100 Subject: [PATCH] fix: react-navi error for Canterbury redirect [skip pizza] --- editor.planx.uk/src/routes/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor.planx.uk/src/routes/index.tsx b/editor.planx.uk/src/routes/index.tsx index 8d04f89613..831a73be98 100644 --- a/editor.planx.uk/src/routes/index.tsx +++ b/editor.planx.uk/src/routes/index.tsx @@ -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}`,