mirror of
https://github.com/tooot-app/app
synced 2025-06-05 22:19:13 +02:00
Fix Sentry reported crashes
This commit is contained in:
@ -46,7 +46,7 @@ const Collections: React.FC = () => {
|
||||
updateInstanceMePage({
|
||||
announcements: {
|
||||
shown: announcementsQuery.data?.length ? true : false,
|
||||
unread: announcementsQuery.data.filter(
|
||||
unread: announcementsQuery.data?.filter(
|
||||
announcement => !announcement.read
|
||||
).length
|
||||
}
|
||||
|
Reference in New Issue
Block a user