Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch authored and Grace Guo committed Jan 27, 2018
1 parent b9299d6 commit f8dcbf7
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -22,7 +22,7 @@ class QueryAutoRefresh extends React.PureComponent {
const queryKeys = Object.keys(queries);
const queriesAsArray = queryKeys.map(key => queries[key]);
return queriesAsArray.some(q =>
['running', 'started', 'pending', 'fetching'].indexOf(q.state) >= 0).length;
['running', 'started', 'pending', 'fetching'].indexOf(q.state) >= 0);
}
startTimer() {
if (!(this.timer)) {
Expand Down

0 comments on commit f8dcbf7

Please sign in to comment.