Skip to content

Commit

Permalink
remove unnecessary preference fix
Browse files Browse the repository at this point in the history
  • Loading branch information
meganthecoder committed Oct 21, 2024
1 parent 3c84bfe commit 22fde56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/blocks/marketo/marketo.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ const setPreference = (key = '', value = '') => {
const formDataObject = keyParts.reduce((obj, part) => {
obj[part] = obj[part] || {};
return obj[part];
}, window.mcz_marketoForm_pref || {});
}, window.mcz_marketoForm_pref);
formDataObject[lastKey] = value;
};

Expand Down

0 comments on commit 22fde56

Please sign in to comment.