From e02171551cbf80a9a26dd0ab2b11993742bfe8be Mon Sep 17 00:00:00 2001 From: Rory Doak Date: Tue, 3 Dec 2024 14:59:59 +0000 Subject: [PATCH] add condition if description | url are undefined --- editor.planx.uk/src/@planx/components/NextSteps/Editor.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/editor.planx.uk/src/@planx/components/NextSteps/Editor.tsx b/editor.planx.uk/src/@planx/components/NextSteps/Editor.tsx index 1c79a5c950..c7c29a2ecf 100644 --- a/editor.planx.uk/src/@planx/components/NextSteps/Editor.tsx +++ b/editor.planx.uk/src/@planx/components/NextSteps/Editor.tsx @@ -46,7 +46,7 @@ const TaskEditor: React.FC> = (props) => { ) => { props.onChange({ @@ -61,7 +61,7 @@ const TaskEditor: React.FC> = (props) => { ) => { props.onChange({ ...props.value,