add prevent default to thread anchor checkmark (#9020)
This commit is contained in:
@@ -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={[
|
||||||
|
|||||||
Reference in New Issue
Block a user