mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-28 14:16:41 +07:00
added months passed to comments
This commit is contained in:
parent
3dfd886570
commit
0286b6f1a5
4 changed files with 7 additions and 6 deletions
|
@ -59,7 +59,7 @@ const Comment: FC<IProps> = memo(
|
|||
return (
|
||||
<CommentContent
|
||||
prefix={
|
||||
group.distancesInDays[index] > 9 && (
|
||||
Math.abs(group.distancesInDays[index]) > 30 && (
|
||||
<CommentDistance
|
||||
firstDate={comment?.created_at ? parseISO(comment.created_at) : undefined}
|
||||
secondDate={
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue