From bb506d911724e0bcd73f7a068b7f4c06d99a8167 Mon Sep 17 00:00:00 2001 From: Rory Doak Date: Thu, 19 Dec 2024 09:57:28 +0000 Subject: [PATCH] add warning page to Draft view --- editor.planx.uk/src/routes/views/draft.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/editor.planx.uk/src/routes/views/draft.tsx b/editor.planx.uk/src/routes/views/draft.tsx index 7404cec968..ff355ab358 100644 --- a/editor.planx.uk/src/routes/views/draft.tsx +++ b/editor.planx.uk/src/routes/views/draft.tsx @@ -5,6 +5,7 @@ import { publicClient } from "lib/graphql"; import { NaviRequest, NotFoundError } from "navi"; import { useStore } from "pages/FlowEditor/lib/store"; import PublicLayout from "pages/layout/PublicLayout"; +import { TestWarningPage } from "pages/Preview/TestWarningPage"; import React from "react"; import { View } from "react-navi"; import { Flow, GlobalSettings } from "types"; @@ -39,7 +40,9 @@ export const draftView = async (req: NaviRequest) => { return ( - + + + ); };