diff --git a/src/components/Organisms/MarketingPreferencesDS/_MarketingPreferencesDS.js b/src/components/Organisms/MarketingPreferencesDS/_MarketingPreferencesDS.js index 09416475..f56ede29 100644 --- a/src/components/Organisms/MarketingPreferencesDS/_MarketingPreferencesDS.js +++ b/src/components/Organisms/MarketingPreferencesDS/_MarketingPreferencesDS.js @@ -19,7 +19,8 @@ const MarketingPreferencesDS = ({ copyBottom = defaultCopyBottom, mpValidationOptions, id = null, - formContext = null + formContext = null, + ...rest }) => { const { formState: { errors }, control } = formContext; @@ -61,7 +62,7 @@ const MarketingPreferencesDS = ({ const customId = id ? `marketing-preferences--${id}` : 'marketing-preferences'; return ( - + {copyTop && {copyTop}} {/* Render Email checkboxes and input if not removed in config */}