{comment.content}
{isCellAdmin && !comment.moderated && ( diff --git a/src/components/PostList.tsx b/src/components/PostList.tsx index 8a671cd..f518054 100644 --- a/src/components/PostList.tsx +++ b/src/components/PostList.tsx @@ -10,6 +10,7 @@ import { ArrowLeft, MessageSquare, MessageCircle, ArrowUp, ArrowDown, Clock, Ref import { formatDistanceToNow } from 'date-fns'; import { CypherImage } from './ui/CypherImage'; import { Badge } from '@/components/ui/badge'; +import { PendingIndicator } from './ui/pending-indicator'; const PostList = () => { const { cellId } = useParams<{ cellId: string }>(); @@ -26,7 +27,8 @@ const PostList = () => { isVoting, posts, moderatePost, - moderateUser + moderateUser, + isMessagePending } = useForum(); const { isAuthenticated, currentUser, verificationStatus } = useAuth(); const [newPostTitle, setNewPostTitle] = useState(''); @@ -259,6 +261,7 @@ const PostList = () => {