mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-01 11:33:41 +03:00
groups: remove TODO about harkbody def, fix in separate PR
This commit is contained in:
parent
952a05a901
commit
2b784caffc
@ -81,7 +81,6 @@ export function Notification(props: {
|
||||
|
||||
const { hovering, bind } = useHovering();
|
||||
const dedupedBody = uniqBy(notification.body, item => item.link);
|
||||
// @ts-ignore TODO fix HarkBody definition for time, is string, should be number.
|
||||
const orderedByTime = dedupedBody.sort((a, b) => b.time - a.time);
|
||||
const contents = map(orderedByTime, 'content').filter(c => c.length > 0);
|
||||
const first = notification.body[0];
|
||||
|
Loading…
Reference in New Issue
Block a user