diff --git a/src/shared/components/Settings/Preferences/Email/index.jsx b/src/shared/components/Settings/Preferences/Email/index.jsx index cbe54d4f12..b8eae9fa7b 100644 --- a/src/shared/components/Settings/Preferences/Email/index.jsx +++ b/src/shared/components/Settings/Preferences/Email/index.jsx @@ -1,23 +1,15 @@ /** * Email Preferences component. */ -import { debounce, isEqual, map } from 'lodash'; +import { debounce, isEqual } from 'lodash'; import React from 'react'; import PT from 'prop-types'; import ConsentComponent from 'components/Settings/ConsentComponent'; -import ToggleableItem from 'components/Settings/ToggleableItem'; import './styles.scss'; const SAVE_DELAY = 1000; -const newsletters = [ - { - id: 'TOPCODER_NL_GEN', - name: 'General Newsletter', - desc: 'News summary from Topcoder', - }, -]; export default class EmailPreferences extends ConsentComponent { saveEmailPreferences = debounce(() => { @@ -85,33 +77,11 @@ export default class EmailPreferences extends ConsentComponent { } render() { - const { profileState: { emailPreferences } } = this.props; return (