mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-10 01:03:36 -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) {
|
if (unread || date) {
|
||||||
render.push(
|
render.push(
|
||||||
<MessageDivider
|
<MessageDivider
|
||||||
date={dayjs(date).format("LL")}
|
date={date ? dayjs(date).format("LL") : undefined}
|
||||||
unread={unread}
|
unread={unread}
|
||||||
/>,
|
/>,
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue