mirror of
https://github.com/revoltchat/revite.git
synced 2024-12-25 07:02:10 -05:00
fix: don't display date on ("new") message divider
This commit is contained in:
parent
c997286340
commit
b53d3bce13
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ export default observer(({ last_id, renderer, highlight }: Props) => {
|
|||
if (unread || date) {
|
||||
render.push(
|
||||
<MessageDivider
|
||||
date={dayjs(date).format("LL")}
|
||||
date={date ? dayjs(date).format("LL") : undefined}
|
||||
unread={unread}
|
||||
/>,
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue