mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Hardening property check for stopPropagation in ConfirmTxScreen (#12158)
This commit is contained in:
parent
9e7b52b7df
commit
5c842107b9
@ -135,7 +135,7 @@ class ConfirmTxScreen extends Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
stopPropagation(event) {
|
stopPropagation(event) {
|
||||||
if (event.stopPropagation) {
|
if (event?.stopPropagation) {
|
||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user