Skip to content

Commit

Permalink
fix: Don't show announcements already seen
Browse files Browse the repository at this point in the history
  • Loading branch information
cballevre committed Sep 25, 2024
1 parent 2b5b6eb commit dfee01a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/useAnnouncements.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ const useAnnouncements = ({
const uuidsInCommon = uuidsSeen.filter(uuid =>
uuidsFromApi.includes(uuid)
)
const unseenData = getUnseenAnnouncements(rawData, [])
const unseenData = getUnseenAnnouncements(rawData, uuidsInCommon)

save({ seen: uuidsInCommon })

Expand Down

0 comments on commit dfee01a

Please sign in to comment.