From 6d146b575ab5ceb92c4986f2a6363b4a8aa2ee20 Mon Sep 17 00:00:00 2001 From: "Kyle B. Johnson" Date: Wed, 1 Nov 2023 14:48:42 -0400 Subject: [PATCH] fix: Restore givewp namespace for supports feature --- .../src/supports/field-settings/FieldSettingsHOC.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FormBuilder/resources/js/form-builder/src/supports/field-settings/FieldSettingsHOC.tsx b/src/FormBuilder/resources/js/form-builder/src/supports/field-settings/FieldSettingsHOC.tsx index 5be8f19283..72abf7daca 100644 --- a/src/FormBuilder/resources/js/form-builder/src/supports/field-settings/FieldSettingsHOC.tsx +++ b/src/FormBuilder/resources/js/form-builder/src/supports/field-settings/FieldSettingsHOC.tsx @@ -25,7 +25,7 @@ const FieldSettingsHOC = createHigherOrderComponent((BlockEdit) => { const fieldSettings: FieldSettings = useMemo(() => { // @ts-ignore - const giveSupports = getBlockSupport(name, 'give') as GiveWPSupports; + const giveSupports = getBlockSupport(name, 'givewp') as GiveWPSupports; return normalizeFieldSettings(giveSupports?.fieldSettings); }, [name]);