1
0
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:
ryanml 2021-09-21 11:58:39 -07:00 committed by GitHub
parent 9e7b52b7df
commit 5c842107b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -135,7 +135,7 @@ class ConfirmTxScreen extends Component {
}
stopPropagation(event) {
if (event.stopPropagation) {
if (event?.stopPropagation) {
event.stopPropagation();
}
}