diff --git a/src/config/constants.ts b/src/config/constants.ts index c7a1f620b..900103e8a 100644 --- a/src/config/constants.ts +++ b/src/config/constants.ts @@ -1,9 +1,4 @@ -import { - EmailFrequency, - ItemLoginSchemaType, - ItemType, - PermissionLevel, -} from '@graasp/sdk'; +import { ItemLoginSchemaType, ItemType, PermissionLevel } from '@graasp/sdk'; import ITEM_LAYOUT_MODES from '../enums/itemLayoutModes'; @@ -22,13 +17,6 @@ export const DEFAULT_LOCALE = 'en-US'; export const DEFAULT_LANG = 'en'; export const DEFAULT_EMAIL_FREQUENCY = 'always'; -export const emailFrequency = { - [EmailFrequency.Always]: 'Always receive email notifications', - // todo: schedule a digest of the notifications - // daily: 'Receive email notifications once per day', - [EmailFrequency.Never]: 'Disable email notifications', -}; - export const DEFAULT_SHOW_CHATBOX_SETTING = false; export const DEFAULT_PINNED_SETTING = false; export const DEFAULT_COLLAPSIBLE_SETTING = false; diff --git a/src/config/selectors.ts b/src/config/selectors.ts index 6806ec9f2..e3f376aab 100644 --- a/src/config/selectors.ts +++ b/src/config/selectors.ts @@ -285,8 +285,6 @@ export const buildCategorySelectionOptionId = ( export const LIBRARY_SETTINGS_CATEGORIES_ID = 'librarySettingsCategories'; export const buildLanguageOptionId = (value: string): string => `languageOption-${value}`; -export const buildEmailFrequencyOptionId = (value: string): string => - `emailFrequencyOption-${value}`; export const CC_ALLOW_COMMERCIAL_CONTROL_ID = 'allowCommercialCCSelector'; export const CC_DISALLOW_COMMERCIAL_CONTROL_ID = 'disallowCommercialCCSelector';