Fix crash when using alert() polyfill due to null callback

This commit is contained in:
Nick Lockwood 2015-08-10 19:09:38 -01:00
parent e2d9ddce4c
commit 4d817245f7
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ function setUpAlert() {
message: '' + text, message: '' + text,
buttons: [{'cancel': 'OK'}], buttons: [{'cancel': 'OK'}],
}; };
RCTAlertManager.alertWithArgs(alertOpts, null); RCTAlertManager.alertWithArgs(alertOpts, function () {});
}; };
} }
} }