diff --git a/apps/app/components/notifications/notification-card.tsx b/apps/app/components/notifications/notification-card.tsx index 174c52a60..40728d804 100644 --- a/apps/app/components/notifications/notification-card.tsx +++ b/apps/app/components/notifications/notification-card.tsx @@ -176,7 +176,7 @@ export const NotificationCard: React.FC = (props) => { {[ { id: 1, - name: notification.read_at ? "Mark as Unread" : "Mark as Read", + name: notification.read_at ? "Mark as unread" : "Mark as read", icon: "chat_bubble", onClick: () => { markNotificationReadStatus(notification.id).then(() => { @@ -191,7 +191,7 @@ export const NotificationCard: React.FC = (props) => { }, { id: 2, - name: notification.archived_at ? "Unarchive Notification" : "Archive Notification", + name: notification.archived_at ? "Unarchive" : "Archive", icon: "archive", onClick: () => { markNotificationArchivedStatus(notification.id).then(() => { @@ -205,7 +205,7 @@ export const NotificationCard: React.FC = (props) => { }, }, ].map((item) => ( - + - - - + const target = e.target as HTMLButtonElement; + target?.classList.add("animate-spin"); + setTimeout(() => { + target?.classList.remove("animate-spin"); + }, 1000); + }} + > + + + + + + + + + + + +