mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 09:57:02 +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) {
|
||||
if (event.stopPropagation) {
|
||||
if (event?.stopPropagation) {
|
||||
event.stopPropagation();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user