File tree Expand file tree Collapse file tree 2 files changed +0
-10
lines changed
view/app/settings/notifications Expand file tree Collapse file tree 2 files changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -7,14 +7,12 @@ import { useTranslation } from '@/hooks/use-translation';
77interface NotificationPreferencesTabProps {
88 activityPreferences ?: PreferenceType [ ] ;
99 securityPreferences ?: PreferenceType [ ] ;
10- updatePreferences ?: PreferenceType [ ] ;
1110 onUpdatePreference : ( id : string , enabled : boolean ) => void ;
1211}
1312
1413export const NotificationPreferencesTab : React . FC < NotificationPreferencesTabProps > = ( {
1514 activityPreferences,
1615 securityPreferences,
17- updatePreferences,
1816 onUpdatePreference
1917} ) => {
2018 const { t } = useTranslation ( ) ;
@@ -34,13 +32,6 @@ export const NotificationPreferencesTab: React.FC<NotificationPreferencesTabProp
3432 preferences = { securityPreferences }
3533 onUpdate = { onUpdatePreference }
3634 />
37-
38- < NotificationPreferenceCard
39- title = { t ( 'settings.notifications.preferences.updates.title' ) }
40- description = { t ( 'settings.notifications.preferences.updates.description' ) }
41- preferences = { updatePreferences }
42- onUpdate = { onUpdatePreference }
43- />
4435 </ div >
4536 ) ;
4637} ;
Original file line number Diff line number Diff line change @@ -121,7 +121,6 @@ const Page: React.FC = () => {
121121 < NotificationPreferencesTab
122122 activityPreferences = { preferences ?. activity }
123123 securityPreferences = { preferences ?. security }
124- updatePreferences = { preferences ?. update }
125124 onUpdatePreference = { handleUpdate }
126125 />
127126 </ TabsContent >
You can’t perform that action at this time.
0 commit comments