refactor(notifications): drop the vestigial Block Messages redirect section

This commit is contained in:
heaven 2026-06-04 01:15:23 +03:00
parent 2ff6166b1a
commit 81c57eccdd

View file

@ -4,9 +4,7 @@ import { SystemNotification } from './SystemNotification';
import { AllMessagesNotifications } from './AllMessages'; import { AllMessagesNotifications } from './AllMessages';
import { SpecialMessagesNotifications } from './SpecialMessages'; import { SpecialMessagesNotifications } from './SpecialMessages';
import { KeywordMessagesNotifications } from './KeywordMessages'; import { KeywordMessagesNotifications } from './KeywordMessages';
import { SettingTile } from '../../../components/setting-tile';
import { SettingsPage } from '../SettingsPage'; import { SettingsPage } from '../SettingsPage';
import { SettingsSection } from '../SettingsSection';
type NotificationsProps = { type NotificationsProps = {
requestClose: () => void; requestClose: () => void;
@ -19,9 +17,6 @@ export function Notifications({ requestClose }: NotificationsProps) {
<AllMessagesNotifications /> <AllMessagesNotifications />
<SpecialMessagesNotifications /> <SpecialMessagesNotifications />
<KeywordMessagesNotifications /> <KeywordMessagesNotifications />
<SettingsSection label={t('Settings.block_messages')}>
<SettingTile description={t('Settings.block_messages_moved')} />
</SettingsSection>
</SettingsPage> </SettingsPage>
); );
} }