Update src/components/moderation/ReportDialog/index.tsx
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>
This commit is contained in:
@@ -677,7 +677,13 @@ function OptionCard({
|
|||||||
return (
|
return (
|
||||||
<Button
|
<Button
|
||||||
testID={`report:option:${option.title}`}
|
testID={`report:option:${option.title}`}
|
||||||
label={_(msg`Create report for ${option.title}`)}
|
label={_(
|
||||||
|
msg({
|
||||||
|
message: `Create report for ${option.title}`,
|
||||||
|
comment:
|
||||||
|
'Accessibility label for button to create a moderation report for the selected option',
|
||||||
|
}),
|
||||||
|
)}
|
||||||
onPress={onPress}
|
onPress={onPress}
|
||||||
disabled={!onSelect}>
|
disabled={!onSelect}>
|
||||||
{({hovered, pressed}) => (
|
{({hovered, pressed}) => (
|
||||||
|
|||||||
Reference in New Issue
Block a user