Skip to content

Commit

Permalink
fix overlay labels not showing up bug
Browse files Browse the repository at this point in the history
  • Loading branch information
webraptor committed Apr 2, 2018
1 parent a51fc0f commit 4cabc67
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Swiper.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ class Swiper extends Component {
const stateChanged = (
nextState.firstCardIndex !== state.firstCardIndex ||
nextState.secondCardIndex !== state.secondCardIndex ||
nextState.previousCardIndex !== state.previousCardIndex
nextState.previousCardIndex !== state.previousCardIndex ||
nextState.labelType !== state.labelType
);
return propsChanged || stateChanged;
}
Expand Down

0 comments on commit 4cabc67

Please sign in to comment.