Skip to content

Commit 557d02a

Browse files
committed
removed dead code I forgot to remove last commit
1 parent cee6556 commit 557d02a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

vedder-picker.ios.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,12 @@ var VPickerIOS = React.createClass({
5151
var items = []
5252
var selectedIndex = 0; // sane default
5353
var checkVal = child.props.selectedValue;
54-
var componentRef = child.ref || 'component_' + index;
5554
React.Children.forEach(child.props.children, function (child, idx) {
5655
if (checkVal === child.props.value) {
5756
selectedIndex = idx;
5857
}
5958
items.push({label: child.props.label, value: child.props.value});
6059
});
61-
componentRefs.push(componentRef);
6260
componentData.push(items);
6361
selectedIndexes.push(selectedIndex);
6462
});

0 commit comments

Comments
 (0)