diff --git a/thoughts-frontend/components/thought-card.tsx b/thoughts-frontend/components/thought-card.tsx index 29c22a8..64e2152 100644 --- a/thoughts-frontend/components/thought-card.tsx +++ b/thoughts-frontend/components/thought-card.tsx @@ -8,7 +8,7 @@ import { } from "@/components/ui/card"; import { UserAvatar } from "./user-avatar"; import { deleteThought, Me, Thought } from "@/lib/api"; -import { formatDistanceToNow } from "date-fns"; +import { format, formatDistanceToNow } from "date-fns"; import { useAuth } from "@/hooks/use-auth"; import { useState } from "react"; import { useRouter } from "next/navigation"; @@ -121,9 +121,13 @@ export function ThoughtCard({ {author.displayName || author.username} - + +