diff --git a/src/components/Resource/ResourceCommentSection.tsx b/src/components/Resource/ResourceCommentSection.tsx index 62f94d5d6fa..ddda59be9f1 100644 --- a/src/components/Resource/ResourceCommentSection.tsx +++ b/src/components/Resource/ResourceCommentSection.tsx @@ -7,7 +7,9 @@ import { toast } from "sonner"; import { cn } from "@/lib/utils"; import { Button } from "@/components/ui/button"; +import { Markdown } from "@/components/ui/markdown"; import { Textarea } from "@/components/ui/textarea"; +import { TooltipComponent } from "@/components/ui/tooltip"; import { Avatar } from "@/components/Common/Avatar"; import PaginationComponent from "@/components/Common/Pagination"; @@ -18,7 +20,7 @@ import { RESULTS_PER_PAGE_LIMIT } from "@/common/constants"; import routes from "@/Utils/request/api"; import mutate from "@/Utils/request/mutate"; import query from "@/Utils/request/query"; -import { formatName, relativeTime } from "@/Utils/utils"; +import { formatDateTime, formatName, relativeTime } from "@/Utils/utils"; import { CommentModel } from "@/types/resourceRequest/resourceRequest"; const CommentSection = (props: { id: string }) => { @@ -91,11 +93,13 @@ const CommentSection = (props: { id: string }) => { ) : (