Skip to content

Commit 6893a26

Browse files
Peter van der Zeefacebook-github-bot
Peter van der Zee
authored andcommitted
Fix duplicate var name declaration
Reviewed By: rafeca Differential Revision: D6965150 fbshipit-source-id: 332c8202f350e2014fedb9790f3d895222fb4f8d
1 parent 4d0ee37 commit 6893a26

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Libraries/Alert/AlertIOS.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -122,11 +122,10 @@ class AlertIOS {
122122
'keyboardType) and the old syntax will be removed in a future version.');
123123

124124
var callback = type;
125-
var defaultValue = message;
126125
RCTAlertManager.alertWithArgs({
127126
title: title || '',
128127
type: 'plain-text',
129-
defaultValue,
128+
defaultValue: message,
130129
}, (id, value) => {
131130
callback(value);
132131
});

0 commit comments

Comments
 (0)