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

Fix lint errors

parent a5e336a1
...@@ -64,7 +64,7 @@ var Navigation = React.createClass({ ...@@ -64,7 +64,7 @@ var Navigation = React.createClass({
this.setState({'messageCountIntervalId': intervalId}); this.setState({'messageCountIntervalId': intervalId});
} }
}, },
componentDidUpdate: function (prevProps, prevState) { componentDidUpdate: function (prevProps) {
if (prevProps.session.user != this.props.session.user) { if (prevProps.session.user != this.props.session.user) {
this.setState({ this.setState({
'loginOpen': false, 'loginOpen': false,
......
var api = require('./mixins/api.jsx').api;
var jar = require('./lib/jar'); var jar = require('./lib/jar');
......
...@@ -41,9 +41,9 @@ var Splash = injectIntl(React.createClass({ ...@@ -41,9 +41,9 @@ var Splash = injectIntl(React.createClass({
getDefaultProps: function () { getDefaultProps: function () {
return { return {
session: {} session: {}
} };
}, },
componentDidUpdate: function (prevProps, prevState) { componentDidUpdate: function (prevProps) {
if (this.props.session.user != prevProps.session.user) { if (this.props.session.user != prevProps.session.user) {
if (this.props.session.user) { if (this.props.session.user) {
this.getActivity(); 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