Remove superfluous handleTransitionEnd method in PageItem
This commit is contained in:
@@ -117,12 +117,6 @@ class PageItem extends React.Component {
|
||||
}
|
||||
}
|
||||
|
||||
handleTransitionEnd = () => {
|
||||
if (this.state.faded) {
|
||||
this.props.onLeave();
|
||||
}
|
||||
};
|
||||
|
||||
handleAnimationsUpdate = () => {
|
||||
this.setState(setAnimations(this.state, this.animationRunner.getState()));
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user