Enable grouped notifications unconditionally (#31929)

This commit is contained in:
Claire authored and GitHub committed 2024-09-16 13:12:10 +00:00
1 parent e0648a916a
commit c620452fd7
10 files changed
+16 -70

No files matched your search

@@ -1,13 +1,8 @@
import Notifications from 'mastodon/features/notifications';
import Notifications_v2 from 'mastodon/features/notifications_v2';
import { selectUseGroupedNotifications } from 'mastodon/selectors/settings';
import { useAppSelector } from 'mastodon/store';
export const NotificationsWrapper = (props) => {
const optedInGroupedNotifications = useAppSelector(selectUseGroupedNotifications);
return (
optedInGroupedNotifications ? <Notifications_v2 {...props} /> : <Notifications {...props} />
<Notifications_v2 {...props} />
);
};