WA-234 Stop propagating event on add owner
This commit is contained in:
parent
2da7eab781
commit
f098d60e28
|
@ -67,9 +67,9 @@ class GnoSafe extends React.PureComponent<SafeProps, State> {
|
|||
this.setState({ component: <Threshold numOwners={safe.get('owners').count()} safe={safe} /> })
|
||||
}
|
||||
|
||||
onAddOwner = () => {
|
||||
onAddOwner = (e: SyntheticEvent<HTMLButtonElement>) => {
|
||||
const { safe } = this.props
|
||||
|
||||
e.stopPropagation()
|
||||
this.setState({ component: <AddOwner threshold={safe.get('threshold')} safe={safe} /> })
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue