diff --git a/src/components/Account/Account.tsx b/src/components/Account/Account.tsx index 5342090d0..32af8496b 100644 --- a/src/components/Account/Account.tsx +++ b/src/components/Account/Account.tsx @@ -78,7 +78,7 @@ const Account = ({ panelClassName, panelHeaderClassName, canUpdateEmail = true } const nonTerms: Consent[] = []; publisherConsents?.forEach((consent) => { - if (consent?.type === 'checkbox') { + if (!consent?.type || consent?.type === 'checkbox') { terms.push(consent); } else { nonTerms.push(consent); diff --git a/src/components/Account/__snapshots__/Account.test.tsx.snap b/src/components/Account/__snapshots__/Account.test.tsx.snap index 57fdb4bda..2a20a13d7 100644 --- a/src/components/Account/__snapshots__/Account.test.tsx.snap +++ b/src/components/Account/__snapshots__/Account.test.tsx.snap @@ -134,51 +134,27 @@ exports[` > renders and matches snapshot 1`] = ` account.terms_and_tracking -
-
-
-
-
-

- account.other_registration_details -

-
-
+
+ Receive Marketing Emails +