Fix accessibilityrole error

This commit is contained in:
Oleksii Bulenok
2026-08-20 16:59:35 +02:00
parent bfecfd13bb
commit 75591fad6e
+1 -1
View File
@@ -157,7 +157,7 @@ export function ComposerPrompt() {
return (
<Pressable
onPress={onPress}
accessibilityRole="button"
accessibilityRole={IS_NATIVE ? 'button' : undefined} // In HTML, <button> cannot be a descendant of <button>.
accessibilityLabel={_(msg`Compose new post`)}
accessibilityHint={_(msg`Opens the post composer`)}
onPointerEnter={() => setHover(true)}