mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-21 16:55:25 +03:00
Facepalm moment
s/created_at/createdAt
This commit is contained in:
parent
d884cddf16
commit
b3941462d6
1 changed files with 1 additions and 1 deletions
|
@ -165,7 +165,7 @@ export default () => {
|
|||
// Group notifications by today, yesterday, and older
|
||||
const groupedNotifications = snapStates.notifications.reduce(
|
||||
(acc, notification) => {
|
||||
const date = new Date(notification.created_at);
|
||||
const date = new Date(notification.createdAt);
|
||||
const today = new Date();
|
||||
const yesterday = new Date();
|
||||
yesterday.setDate(today.getDate() - 1);
|
||||
|
|
Loading…
Reference in a new issue