Fix duplicate var name declaration
Reviewed By: rafeca Differential Revision: D6965150 fbshipit-source-id: 332c8202f350e2014fedb9790f3d895222fb4f8d
This commit is contained in:
parent
4d0ee37293
commit
6893a26bfb
|
@ -122,11 +122,10 @@ class AlertIOS {
|
|||
'keyboardType) and the old syntax will be removed in a future version.');
|
||||
|
||||
var callback = type;
|
||||
var defaultValue = message;
|
||||
RCTAlertManager.alertWithArgs({
|
||||
title: title || '',
|
||||
type: 'plain-text',
|
||||
defaultValue,
|
||||
defaultValue: message,
|
||||
}, (id, value) => {
|
||||
callback(value);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue