import { Center, Loader, Text } from '@mantine/core' import CommentsFeed from './CommentsFeed' import { useGetPostCommentsQuery } from '../app/api/comments' import type { Post } from '../app/types/common' function PostCommentsFeed({ post }: { post: Post }) { const { data, isLoading } = useGetPostCommentsQuery({ postId: post.id }) if (isLoading) { return (