add preventDefault to stop nav on web
This commit is contained in:
@@ -246,7 +246,10 @@ function ListMember({
|
|||||||
<Button
|
<Button
|
||||||
testID={`user-${profile.handle}-editBtn`}
|
testID={`user-${profile.handle}-editBtn`}
|
||||||
label={_(msg({message: 'Edit', context: 'action'}))}
|
label={_(msg({message: 'Edit', context: 'action'}))}
|
||||||
onPress={editMembershipDialogControl.open}
|
onPress={evt => {
|
||||||
|
evt.preventDefault()
|
||||||
|
editMembershipDialogControl.open()
|
||||||
|
}}
|
||||||
size="small"
|
size="small"
|
||||||
variant="solid"
|
variant="solid"
|
||||||
color="secondary">
|
color="secondary">
|
||||||
|
|||||||
Reference in New Issue
Block a user