Simplify expression
This commit is contained in:
parent
f99e6306c3
commit
6330a8d9f3
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ export const groupMessagesByDate = (
|
||||||
toSection(groupedMessages.yesterday),
|
toSection(groupedMessages.yesterday),
|
||||||
toSection(groupedMessages.thisWeek),
|
toSection(groupedMessages.thisWeek),
|
||||||
toSection(groupedMessages.thisMonth),
|
toSection(groupedMessages.thisMonth),
|
||||||
...yearMonthMessages.map(group => toSection(group)),
|
...yearMonthMessages.map(toSection),
|
||||||
]);
|
]);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue