mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-24 20:36: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 (
|
return (
|
||||||
<CommentContent
|
<CommentContent
|
||||||
prefix={
|
prefix={
|
||||||
Math.abs(group.distancesInDays[index]) > 30 && (
|
Math.abs(group.distancesInDays[index]) > 7 && (
|
||||||
<CommentDistance
|
<CommentDistance
|
||||||
firstDate={comment?.created_at ? parseISO(comment.created_at) : undefined}
|
firstDate={comment?.created_at ? parseISO(comment.created_at) : undefined}
|
||||||
secondDate={
|
secondDate={
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue