diff --git a/frontend/packages/ux-editor/src/containers/FormItemContext.tsx b/frontend/packages/ux-editor/src/containers/FormItemContext.tsx index 2bd5ab8d532..4962808bd80 100644 --- a/frontend/packages/ux-editor/src/containers/FormItemContext.tsx +++ b/frontend/packages/ux-editor/src/containers/FormItemContext.tsx @@ -153,7 +153,7 @@ export const FormItemContextProvider = ({ return; await handleSave(); handleDiscard(); - prevSelectedFormLayoutSetNameRef.current = selectedFormLayoutName; + prevSelectedFormLayoutSetNameRef.current = selectedFormLayoutSetName; prevSelectedFormLayoutNameRef.current = selectedFormLayoutName; };