Skip to content

Commit

Permalink
[hotfix] fixing the (one js lint err in the) build
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Mar 31, 2017
1 parent 6e899ac commit 66cc546
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ class QueryAutoRefresh extends React.PureComponent {
const { queries } = this.props;
const queryKeys = Object.keys(queries);
const queriesAsArray = queryKeys.map(key => queries[key]);
return queriesAsArray.some(q => ['running', 'started', 'pending', 'fetching'].indexOf(q.state) >= 0);
return queriesAsArray.some(
q => ['running', 'started', 'pending', 'fetching'].indexOf(q.state) >= 0);
}
startTimer() {
if (!(this.timer)) {
Expand Down

0 comments on commit 66cc546

Please sign in to comment.