[hotfix] fixing the (one js lint err in the) build

This commit is contained in:
Maxime Beauchemin 2017-03-31 07:52:26 -07:00
parent 6e899ac55f
commit 66cc546a30
1 changed files with 2 additions and 1 deletions

View File

@ -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)) {