Skip to content

Commit

Permalink
fix: Restore givewp namespace for supports feature
Browse files Browse the repository at this point in the history
  • Loading branch information
kjohnson committed Nov 1, 2023
1 parent 4b545ce commit 6d146b5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
Expand Down

0 comments on commit 6d146b5

Please sign in to comment.