From 03e2b1fd0c7b1c89038b8092adaba464445cdbdd Mon Sep 17 00:00:00 2001 From: Mathias Schopmans Date: Thu, 6 Apr 2017 16:55:35 +0200 Subject: [PATCH] Remove superfluous handleTransitionEnd method in PageItem --- js/components/PageItem.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/js/components/PageItem.js b/js/components/PageItem.js index cd8e2c0..cac9884 100644 --- a/js/components/PageItem.js +++ b/js/components/PageItem.js @@ -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())); };