add prevent default to thread anchor checkmark (#9020)

This commit is contained in:
Samuel Newman
2025-09-10 17:44:19 +03:00
committed by GitHub
parent c7591ef058
commit 5be753ecdf
@@ -99,15 +99,15 @@ export function Badge({
: _(msg`View this user's verifications`) : _(msg`View this user's verifications`)
} }
hitSlop={20} hitSlop={20}
onPress={() => { onPress={evt => {
evt.preventDefault()
logger.metric('verification:badge:click', {}, {statsig: true}) logger.metric('verification:badge:click', {}, {statsig: true})
if (state.profile.role === 'verifier') { if (state.profile.role === 'verifier') {
verifierDialogControl.open() verifierDialogControl.open()
} else { } else {
verificationsDialogControl.open() verificationsDialogControl.open()
} }
}} }}>
style={[]}>
{({hovered}) => ( {({hovered}) => (
<View <View
style={[ style={[