Fix Linter
This commit is contained in:
parent
e8adb2cf50
commit
583701920a
3 changed files with 2 additions and 4 deletions
|
@ -42,7 +42,8 @@ export default class BuildList extends React.Component {
|
|||
|
||||
_fetch(page = 1, callback, options) {
|
||||
const project = this.props.project;
|
||||
getProjectRecentBuilds(project.username, project.reponame, this.renderLimit, this.renderLimit * (page - 1)).then((recentBuilds) => {
|
||||
getProjectRecentBuilds(project.username, project.reponame, this.renderLimit, this.renderLimit * (page - 1))
|
||||
.then((recentBuilds) => {
|
||||
recentBuilds = _.sortBy(recentBuilds, (b) => b.stop_time).reverse();
|
||||
loaderHandler.hideLoader();
|
||||
callback(recentBuilds, {
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
import React from 'react-native';
|
||||
import { getProjects } from '../../api/CircleCI';
|
||||
import loaderHandler from 'react-native-busy-indicator/LoaderHandler';
|
||||
import ProjectList from '../projects/ProjectList';
|
||||
import GlobalStyles from '../../settings/styles';
|
||||
|
|
|
@ -1,9 +1,7 @@
|
|||
import React from 'react-native';
|
||||
import { getProjectRecentBuilds } from '../../api/CircleCI';
|
||||
import loaderHandler from 'react-native-busy-indicator/LoaderHandler';
|
||||
import BuildList from '../builds/BuildList';
|
||||
import GlobalStyles from '../../settings/styles';
|
||||
import _ from 'underscore';
|
||||
|
||||
const {
|
||||
StyleSheet,
|
||||
|
|
Reference in a new issue