fix: hide type and web option from the header when there is no preference under app

This commit is contained in:
sundasnoreen12
2024-05-15 17:57:54 +05:00
parent b2173afb9c
commit e623f03c4b
4 changed files with 14 additions and 6 deletions

View File

@@ -12,7 +12,7 @@ import { useIsOnMobile } from '../hooks';
import ToggleSwitch from './ToggleSwitch';
import { LOADING_STATUS } from '../constants';
import NotificationTypes from './NotificationTypes';
import notificationChannels from './data/utils';
import { notificationChannels } from './data/utils';
import { updateAppPreferenceToggle } from './data/thunks';
import NotificationPreferenceColumn from './NotificationPreferenceColumn';
import { selectPreferenceAppToggleValue, selectSelectedCourseId, selectUpdatePreferencesStatus } from './data/selectors';