mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +07:00
fixed comment distance to week
This commit is contained in:
parent
9964203c18
commit
222f2dd1d0
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ const Comment: FC<IProps> = memo(
|
|||
return (
|
||||
<CommentContent
|
||||
prefix={
|
||||
Math.abs(group.distancesInDays[index]) > 30 && (
|
||||
Math.abs(group.distancesInDays[index]) > 7 && (
|
||||
<CommentDistance
|
||||
firstDate={comment?.created_at ? parseISO(comment.created_at) : undefined}
|
||||
secondDate={
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue