Commit 7b72e6cd authored by Ray Schamp's avatar Ray Schamp

Fix lint errors

parent a5e336a1
......@@ -64,7 +64,7 @@ var Navigation = React.createClass({
this.setState({'messageCountIntervalId': intervalId});
}
},
componentDidUpdate: function (prevProps, prevState) {
componentDidUpdate: function (prevProps) {
if (prevProps.session.user != this.props.session.user) {
this.setState({
'loginOpen': false,
......
var api = require('./mixins/api.jsx').api;
var jar = require('./lib/jar');
......
......@@ -41,9 +41,9 @@ var Splash = injectIntl(React.createClass({
getDefaultProps: function () {
return {
session: {}
}
};
},
componentDidUpdate: function (prevProps, prevState) {
componentDidUpdate: function (prevProps) {
if (this.props.session.user != prevProps.session.user) {
if (this.props.session.user) {
this.getActivity();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment