Skip to content

Commit 245321a

Browse files
saths008aevinj
authored andcommitted
Remove mark all as read button
fix 429 error
1 parent ee6c7ca commit 245321a

2 files changed

Lines changed: 1 addition & 16 deletions

File tree

src/components/calendar/create-manual-event-dialog.tsx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -143,12 +143,7 @@ export function CreateManualEventDialog({
143143

144144
getUserSlotifyGroups()
145145
getSlotifyGroupMembers()
146-
}, [
147-
selectedSlotifyGroup,
148-
pageTokenGroups,
149-
pageTokenGroupMembers,
150-
getUserSlotifyGroups,
151-
])
146+
}, [selectedSlotifyGroup, pageTokenGroups, pageTokenGroupMembers])
152147

153148
const toggleParticipant = (participant: User) => {
154149
setSelectedParticipants(current =>

src/components/notification-bell.tsx

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -71,16 +71,6 @@ function NotificationList({
7171
</li>
7272
) : (
7373
<>
74-
<Button
75-
variant='secondary'
76-
size='sm'
77-
onClick={() => {
78-
const copyNotifs = notifications
79-
copyNotifs.forEach(notif => handleMarkAsRead(notif.id))
80-
}}
81-
>
82-
Mark all as read
83-
</Button>
8474
{notifications.map(notification => (
8575
<li
8676
key={notification.id}

0 commit comments

Comments
 (0)