From d3f7e6210cec0f8ef0a13c65cdeeefb70d512ad7 Mon Sep 17 00:00:00 2001 From: Chi Vinh Le Date: Tue, 6 Jun 2017 19:06:42 +0700 Subject: [PATCH] Simplify transition code --- client/coral-embed-stream/src/components/Comment.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/client/coral-embed-stream/src/components/Comment.js b/client/coral-embed-stream/src/components/Comment.js index ac9037a75..177ac457d 100644 --- a/client/coral-embed-stream/src/components/Comment.js +++ b/client/coral-embed-stream/src/components/Comment.js @@ -112,10 +112,6 @@ class Comment extends React.Component { } } - componentWillAppear(callback) { - callback(); - } - componentWillEnter(callback) { callback(); const userId = this.props.currentUser ? this.props.currentUser.id : null; @@ -132,10 +128,6 @@ class Comment extends React.Component { this.setState({animateEnter: true}); } - componentWillLeave(callback) { - callback(); - } - static propTypes = { reactKey: PropTypes.string.isRequired,