Simplify transition code

This commit is contained in:
Chi Vinh Le
2017-06-06 19:06:42 +07:00
parent 447ec7e524
commit d3f7e6210c
@@ -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,