diff --git a/app/soapbox/features/chats/components/chat-message-list-intro.tsx b/app/soapbox/features/chats/components/chat-message-list-intro.tsx index d977a24dc..ebc4d1dd8 100644 --- a/app/soapbox/features/chats/components/chat-message-list-intro.tsx +++ b/app/soapbox/features/chats/components/chat-message-list-intro.tsx @@ -3,7 +3,6 @@ import React from 'react'; import { defineMessages, useIntl } from 'react-intl'; import { openModal } from 'soapbox/actions/modals'; -import { initReport } from 'soapbox/actions/reports'; import Link from 'soapbox/components/link'; import { Avatar, Button, HStack, Icon, Stack, Text } from 'soapbox/components/ui'; import { useChatContext } from 'soapbox/contexts/chat-context'; @@ -38,11 +37,6 @@ const ChatMessageListIntro = () => { })); }; - const handleReportChat = () => { - dispatch(initReport(chat?.account as any)); - acceptChat.mutate(); - }; - if (!chat) { return null; } @@ -81,7 +75,7 @@ const ChatMessageListIntro = () => { {needsAcceptance ? ( - + - - - - - - + + ) : (