diff --git a/ui/page/notifications/view.jsx b/ui/page/notifications/view.jsx
index 4ad4f136a..95f390787 100644
--- a/ui/page/notifications/view.jsx
+++ b/ui/page/notifications/view.jsx
@@ -73,13 +73,6 @@ export default function NotificationsPage(props: Props) {
}
}, [doCommentReactList, list, activeChannel, fetching, initialFetchDone]);
- React.useEffect(() => {
- if (unseenCount > 0 || unreadCount > 0) {
- // If there are unread notifications when entering the page, reset to All.
- setName(NOTIFICATIONS.NOTIFICATION_NAME_ALL);
- }
- }, []);
-
React.useEffect(() => {
if (unseenCount > 0) {
doSeeAllNotifications();
@@ -120,13 +113,7 @@ export default function NotificationsPage(props: Props) {
)}
{notificationCategories && (
- setName(e.target.value)}
- >
+ setName(e.target.value)}>
{notificationCategories.map((category) => {
return (