mirror of
https://github.com/coracle-social/flotilla.git
synced 2025-12-10 19:07:06 +00:00
Remove comments and test lines
This commit is contained in:
@@ -65,7 +65,6 @@ export const notifications = derived(
|
||||
return true
|
||||
}
|
||||
|
||||
// can update to tuple of (path, event_type) if later filtering is desired
|
||||
const paths = new Set<string>()
|
||||
|
||||
for (const {pubkeys, messages} of $chats) {
|
||||
@@ -156,14 +155,11 @@ export const notifications = derived(
|
||||
}
|
||||
}
|
||||
|
||||
paths.add("pls")
|
||||
|
||||
return paths
|
||||
},
|
||||
)
|
||||
|
||||
export const badgeCount = derived(notifications, notifications => {
|
||||
// do filtering as desired?
|
||||
return notifications.size
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user