From fa6d9d0accb03141292b7f08d6388560413aa52a Mon Sep 17 00:00:00 2001 From: Rory Doak <138574807+RODO94@users.noreply.github.com> Date: Tue, 3 Dec 2024 16:33:06 +0000 Subject: [PATCH] fix: when next step is deleted, props.value doesn't update (#4034) --- 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,