a tool for shared writing and social publishing

add time since to comments on profiles

Changed files
+4 -1
app
(home-pages)
p
[didOrHandle]
+4 -1
app/(home-pages)/p/[didOrHandle]/comments/CommentsContent.tsx
··· 177 177 <div className="flex gap-2 w-full"> 178 178 <Avatar src={avatarSrc} displayName={displayName} /> 179 179 <div className="flex flex-col w-full min-w-0 grow"> 180 - <div className="flex flex-row gap-2"> 180 + <div className="flex flex-row gap-2 justify-between"> 181 181 <div className="text-tertiary text-sm truncate"> 182 182 <span className="font-bold text-secondary">{displayName}</span>{" "} 183 183 {isReply ? "replied" : "commented"} on{" "} ··· 191 191 ) : ( 192 192 <span className="italic text-accent-contrast">{postTitle}</span> 193 193 )} 194 + </div> 195 + <div className="text-tertiary text-sm shrink-0"> 196 + {timeAgo(record.createdAt)} 194 197 </div> 195 198 </div> 196 199 {isReply && parentRecord && (