Skip to content

Commit

Permalink
[#1091] Removed unnecessary lines and made some stylistic changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ishirak committed Sep 18, 2016
1 parent 18572c3 commit 28b7f48
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 61 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/commits-table/CommitsTable.tsx
Expand Up @@ -11,7 +11,7 @@ import Note from './note/Note';
import { revertDialog } from '../portal/portal';
import { findIndex } from '../../utils/ArrayUtils';

import CommitRow from '../../stores/commitRow';
import CommitRow from '../../stores/CommitRow';
import store from '../../stores/commitsTableStore';

import './CommitsTable.less';
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/commits-table/row/Row.tsx
Expand Up @@ -8,7 +8,7 @@ import CommitSummary from '../commit-summary/CommitSummary';
import Error from './Error';
import DetailsLevel from '../../../enums/DetailsLevel';

import CommitRow from "../../../stores/commitRow";
import CommitRow from "../../../stores/CommitRow";

interface RowProps {
commitRow: CommitRow;
Expand Down
53 changes: 0 additions & 53 deletions frontend/src/components/home/utils.ts

This file was deleted.

File renamed without changes.
4 changes: 1 addition & 3 deletions frontend/src/stores/appStore.ts
Expand Up @@ -6,7 +6,7 @@ import * as ReactRouter from 'react-router';
import * as request from 'superagent';

import config from '../config/config';
import CommitRow from './commitRow';
import CommitRow from './CommitRow';
import * as WpApi from '../services/WpApi';
import { indexOf } from '../utils/CommitUtils';
import { getErrorMessage, parsePageNumber } from './utils';
Expand All @@ -19,8 +19,6 @@ const routes = config.routes;

class AppStore {
@observable page: number = 0;
@observable pages: number[] = [];
@observable commits: Commit[] = [];
@observable selectedCommits: Commit[] = [];
@observable lastSelectedCommit: Commit = null;
@observable isLoading: boolean = true;
Expand Down
3 changes: 1 addition & 2 deletions frontend/src/stores/commitPanelStore.ts
Expand Up @@ -3,8 +3,7 @@ import * as request from 'superagent';

import DetailsLevel from '../enums/DetailsLevel';
import * as WpApi from '../services/WpApi';
import { getDiff, getGitStatus } from './utils';
import { getErrorMessage } from './utils';
import { getDiff, getGitStatus, getErrorMessage } from './utils';

import appStore from './appStore';
import servicePanelStore from './servicePanelStore';
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/stores/commitsTableStore.ts
@@ -1,6 +1,6 @@
import { action, computed, observable } from 'mobx';
import * as _ from 'lodash';
import CommitRow from './commitRow';
import CommitRow from './CommitRow';

import appStore from './appStore';
import { indexOf } from "../utils/CommitUtils";
Expand Down

0 comments on commit 28b7f48

Please sign in to comment.