Fix missing notification badge (#3100)

This commit is contained in:
Essem 2025-06-15 14:22:06 -05:00 committed by GitHub
parent a27202fbbc
commit fe337904b2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -102,11 +102,7 @@ const NotificationsLink = () => {
const showCount = useAppSelector(
(state) =>
// eslint-disable-next-line @typescript-eslint/no-unsafe-call, @typescript-eslint/no-unsafe-member-access
state.local_settings.getIn([
'notifications',
'tab_badge',
false,
]) as boolean,
state.local_settings.getIn(['notifications', 'tab_badge']) as boolean,
);
const intl = useIntl();