Skip to content

Commit

Permalink
apply prettier rules on previous commits from branch
Browse files Browse the repository at this point in the history
  • Loading branch information
fargito committed May 22, 2019
1 parent 1f4f757 commit 37b501d
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,8 @@ export class UnconnectedReferenceArrayInputController extends Component<
}

componentDidMount() {
this.fetchReferences(this.props, true)
this.fetchOptions(this.props)
this.fetchReferences(this.props, true);
this.fetchOptions(this.props);
}

componentWillReceiveProps(nextProps: Props & EnhancedProps) {
Expand Down Expand Up @@ -234,7 +234,9 @@ export class UnconnectedReferenceArrayInputController extends Component<
'The value of ReferenceArrayInput should be an array'
);
}
const idsToFetch = isInitialCall ? ids : difference(ids, this.props.input.value)
const idsToFetch = isInitialCall
? ids
: difference(ids, this.props.input.value);
crudGetMany(reference, idsToFetch);
}
};
Expand Down

0 comments on commit 37b501d

Please sign in to comment.