Fix crash when using alert() polyfill due to null callback
This commit is contained in:
parent
e2d9ddce4c
commit
4d817245f7
|
@ -90,7 +90,7 @@ function setUpAlert() {
|
|||
message: '' + text,
|
||||
buttons: [{'cancel': 'OK'}],
|
||||
};
|
||||
RCTAlertManager.alertWithArgs(alertOpts, null);
|
||||
RCTAlertManager.alertWithArgs(alertOpts, function () {});
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue