notifications: key notifications correctly

Fixes urbit/landscape#832
This commit is contained in:
Liam Fitzgerald 2021-05-10 15:11:04 +10:00
parent 61582108a4
commit 534fc97d0f
No known key found for this signature in database
GPG Key ID: D390E12C61D1CFFB

View File

@ -172,7 +172,7 @@ function DaySection({
{_.map(timeboxes.sort(sortTimeboxes), ([date, nots], i: number) =>
_.map(nots.sort(sortIndexedNotification), (not, j: number) => (
<Notification
key={getNotificationKey(time, not)}
key={getNotificationKey(date, not)}
api={api}
notification={not}
archived={archive}