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

This commit is contained in:
Nick Lockwood committed 2015-08-11 07:31:19 -08:00
1 parent e2d9ddce4c
commit 4d817245f7
1 file changed
+1 -1
@@ -90,7 +90,7 @@ function setUpAlert() {
message: '' + text,
buttons: [{'cancel': 'OK'}],
};
RCTAlertManager.alertWithArgs(alertOpts, null);
RCTAlertManager.alertWithArgs(alertOpts, function () {});
};
}
}