Auto-fix lint errors

Reviewed By: bestander

Differential Revision: D3683952

fbshipit-source-id: 9484d0b0e86859e8edaca0da1aa13a667f200905
This commit is contained in:
David Aurelio
2016-08-09 06:32:41 -07:00
committed by Facebook Github Bot 4
parent 8e2906ae89
commit 94666f16c7
58 changed files with 293 additions and 293 deletions

View File

@@ -79,11 +79,11 @@ class PickerAndroid extends React.Component {
// Translate prop and children into stuff that the native picker understands.
_stateFromProps = (props) => {
var selectedIndex = 0;
let items = ReactChildren.map(props.children, (child, index) => {
const items = ReactChildren.map(props.children, (child, index) => {
if (child.props.value === props.selectedValue) {
selectedIndex = index;
}
let childProps = {
const childProps = {
value: child.props.value,
label: child.props.label,
};