mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-27 01:25:52 -05:00
remove debug message
This commit is contained in:
parent
ffa6b7d376
commit
a90dd6e296
1 changed files with 0 additions and 2 deletions
|
@ -45,7 +45,6 @@ var Navigation = React.createClass({
|
||||||
if (this.props.session.session.user) {
|
if (this.props.session.session.user) {
|
||||||
var intervalId = setInterval(function () {
|
var intervalId = setInterval(function () {
|
||||||
this.props.dispatch(messageCountActions.getCount(this.props.session.session.user.username));
|
this.props.dispatch(messageCountActions.getCount(this.props.session.session.user.username));
|
||||||
console.log('did things');
|
|
||||||
}.bind(this), 120000); // check for new messages every 2 mins.
|
}.bind(this), 120000); // check for new messages every 2 mins.
|
||||||
this.setState({'messageCountIntervalId': intervalId});
|
this.setState({'messageCountIntervalId': intervalId});
|
||||||
}
|
}
|
||||||
|
@ -59,7 +58,6 @@ var Navigation = React.createClass({
|
||||||
if (this.props.session.session.user) {
|
if (this.props.session.session.user) {
|
||||||
var intervalId = setInterval(function () {
|
var intervalId = setInterval(function () {
|
||||||
this.props.dispatch(messageCountActions.getCount(this.props.session.session.user.username));
|
this.props.dispatch(messageCountActions.getCount(this.props.session.session.user.username));
|
||||||
console.log('did things');
|
|
||||||
}.bind(this), 120000); // check for new messages every 2 mins.
|
}.bind(this), 120000); // check for new messages every 2 mins.
|
||||||
this.setState({'messageCountIntervalId': intervalId});
|
this.setState({'messageCountIntervalId': intervalId});
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue