Permalink
Browse files

Fix duplicate var name declaration

Reviewed By: rafeca

Differential Revision: D6965150

fbshipit-source-id: 332c8202f350e2014fedb9790f3d895222fb4f8d
  • Loading branch information...
Peter van der Zee authored and facebook-github-bot committed Feb 13, 2018
1 parent 4d0ee37 commit 6893a26bfb06a2d8ad9d23a572f4d9143305d905
Showing with 1 addition and 2 deletions.
  1. +1 −2 Libraries/Alert/AlertIOS.js
@@ -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);
});

0 comments on commit 6893a26

Please sign in to comment.