diff --git a/frontend/src/layout/MyMenu.tsx b/frontend/src/layout/MyMenu.tsx
index 1ca63a790..770651f42 100644
--- a/frontend/src/layout/MyMenu.tsx
+++ b/frontend/src/layout/MyMenu.tsx
@@ -28,9 +28,7 @@ const MyMenu = () => {
return !notification.isRead;
});
- if (isNotRead.length !== 0) {
- setIsAllRead(false);
- }
+ setIsAllRead(isNotRead.length === 0);
};
const handleNotificationDropdown = () => {
@@ -56,11 +54,10 @@ const MyMenu = () => {
gapFromTrigger="52px"
isDropdownOpen={isNotificationDropdownOpen}
trigger={
- isAllRead ? (
-
- ) : (
-
- )
+
}
>