[🐴] Switch back to encouraging users to report messages (#4117)

* Swap prompt back in

* Remove unused convoAccount affordances
This commit is contained in:
Eric Bailey 2024-05-20 13:49:20 -05:00 committed by GitHub
parent cc7a0da1a2
commit d0bfe703d9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 39 additions and 63 deletions

View file

@ -0,0 +1,27 @@
import React from 'react'
import {msg} from '@lingui/macro'
import {useLingui} from '@lingui/react'
import {DialogControlProps} from '#/components/Dialog'
import * as Prompt from '#/components/Prompt'
export function ReportConversationPrompt({
control,
}: {
control: DialogControlProps
}) {
const {_} = useLingui()
return (
<Prompt.Basic
control={control}
title={_(msg`Report conversation`)}
description={_(
msg`To report a conversation, please report one of its messages via the conversation screen. This lets our moderators understand the context of your issue.`,
)}
confirmButtonCta={_(msg`I understand`)}
onConfirm={() => {}}
showCancel={false}
/>
)
}