Skip to content

Commit

Permalink
Fix bad rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
eliperkins committed Dec 1, 2017
1 parent d71c094 commit dc3611e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/downshift.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,7 @@ class Downshift extends Component {
otherStateToSet = {},
) => {
otherStateToSet = pickState(otherStateToSet)
this.internalSetState({highlightedIndex, ...otherStateToSet}, () => {
/* istanbul ignore else (react-native) */
/* istanbul ignore else (react-native) */
if (!isReactNative) {
this.internalSetState(
{highlightedIndex, ...otherStateToSet},
Expand Down

0 comments on commit dc3611e

Please sign in to comment.