Remove superfluous handleTransitionEnd method in PageItem

This commit is contained in:
Mathias Schopmans
2017-04-06 16:55:35 +02:00
parent 029eacb8bf
commit 03e2b1fd0c

View File

@@ -117,12 +117,6 @@ class PageItem extends React.Component {
} }
} }
handleTransitionEnd = () => {
if (this.state.faded) {
this.props.onLeave();
}
};
handleAnimationsUpdate = () => { handleAnimationsUpdate = () => {
this.setState(setAnimations(this.state, this.animationRunner.getState())); this.setState(setAnimations(this.state, this.animationRunner.getState()));
}; };