From f1496656607bc2b382b8f378652a2e334f4a5908 Mon Sep 17 00:00:00 2001 From: Brandon Millman Date: Tue, 12 Jun 2018 13:40:15 -0700 Subject: Fix lint errors --- packages/website/ts/components/relayer_index/relayer_index.tsx | 1 - packages/website/ts/components/ui/retry.tsx | 1 - packages/website/ts/containers/jobs.ts | 3 +-- packages/website/ts/index.tsx | 1 - packages/website/ts/pages/jobs/jobs.tsx | 1 - packages/website/ts/pages/jobs/mission.tsx | 6 ++++-- packages/website/ts/pages/jobs/open_positions.tsx | 9 +++++++-- packages/website/ts/pages/jobs/photo_rail.tsx | 3 --- packages/website/ts/pages/jobs/teams.tsx | 1 - packages/website/ts/pages/jobs/values.tsx | 1 - 10 files changed, 12 insertions(+), 15 deletions(-) (limited to 'packages/website/ts') diff --git a/packages/website/ts/components/relayer_index/relayer_index.tsx b/packages/website/ts/components/relayer_index/relayer_index.tsx index 69a7cada1..3c5761bcd 100644 --- a/packages/website/ts/components/relayer_index/relayer_index.tsx +++ b/packages/website/ts/components/relayer_index/relayer_index.tsx @@ -1,7 +1,6 @@ import { Styles } from '@0xproject/react-shared'; import * as _ from 'lodash'; import CircularProgress from 'material-ui/CircularProgress'; -import FlatButton from 'material-ui/FlatButton'; import { GridList } from 'material-ui/GridList'; import * as React from 'react'; diff --git a/packages/website/ts/components/ui/retry.tsx b/packages/website/ts/components/ui/retry.tsx index f18b5abac..accdbfe9c 100644 --- a/packages/website/ts/components/ui/retry.tsx +++ b/packages/website/ts/components/ui/retry.tsx @@ -1,5 +1,4 @@ import FlatButton from 'material-ui/FlatButton'; -import { GridList } from 'material-ui/GridList'; import * as React from 'react'; import { colors } from 'ts/style/colors'; diff --git a/packages/website/ts/containers/jobs.ts b/packages/website/ts/containers/jobs.ts index 63ef59221..b18485882 100644 --- a/packages/website/ts/containers/jobs.ts +++ b/packages/website/ts/containers/jobs.ts @@ -1,4 +1,3 @@ -import * as _ from 'lodash'; import * as React from 'react'; import { connect } from 'react-redux'; import { Dispatch } from 'redux'; @@ -17,7 +16,7 @@ interface ConnectedDispatch { dispatcher: Dispatcher; } -const mapStateToProps = (state: State, ownProps: JobsProps): ConnectedState => ({ +const mapStateToProps = (state: State, _ownProps: JobsProps): ConnectedState => ({ translate: state.translate, screenWidth: state.screenWidth, }); diff --git a/packages/website/ts/index.tsx b/packages/website/ts/index.tsx index a8749d8bf..5501f5972 100644 --- a/packages/website/ts/index.tsx +++ b/packages/website/ts/index.tsx @@ -4,7 +4,6 @@ import { render } from 'react-dom'; import { Provider } from 'react-redux'; import { BrowserRouter as Router, Redirect, Route, Switch } from 'react-router-dom'; import * as injectTapEventPlugin from 'react-tap-event-plugin'; -import { createStore, Store as ReduxStore } from 'redux'; import { About } from 'ts/containers/about'; import { FAQ } from 'ts/containers/faq'; import { Jobs } from 'ts/containers/jobs'; diff --git a/packages/website/ts/pages/jobs/jobs.tsx b/packages/website/ts/pages/jobs/jobs.tsx index 9fd305972..c23b4a976 100644 --- a/packages/website/ts/pages/jobs/jobs.tsx +++ b/packages/website/ts/pages/jobs/jobs.tsx @@ -15,7 +15,6 @@ import { Teams } from 'ts/pages/jobs/teams'; import { Values } from 'ts/pages/jobs/values'; import { Dispatcher } from 'ts/redux/dispatcher'; import { ScreenWidths } from 'ts/types'; -import { constants } from 'ts/utils/constants'; import { Translate } from 'ts/utils/translate'; import { utils } from 'ts/utils/utils'; diff --git a/packages/website/ts/pages/jobs/mission.tsx b/packages/website/ts/pages/jobs/mission.tsx index b4d294623..f7f874e04 100644 --- a/packages/website/ts/pages/jobs/mission.tsx +++ b/packages/website/ts/pages/jobs/mission.tsx @@ -1,6 +1,5 @@ import * as React from 'react'; -import { FilledImage } from 'ts/pages/jobs/filled_image'; import { colors } from 'ts/style/colors'; import { ScreenWidths } from 'ts/types'; @@ -35,7 +34,10 @@ export const Mission = (props: MissionProps) => { ); return ( -
+
{isSmallScreen ? (
diff --git a/packages/website/ts/pages/jobs/open_positions.tsx b/packages/website/ts/pages/jobs/open_positions.tsx index f6dbc38a0..c43cc43fe 100644 --- a/packages/website/ts/pages/jobs/open_positions.tsx +++ b/packages/website/ts/pages/jobs/open_positions.tsx @@ -13,7 +13,7 @@ import { backendClient } from 'ts/utils/backend_client'; const labelStyle = { fontFamily: 'Roboto Mono', fontSize: 18 }; const HEADER_TEXT = 'Open Positions'; -const LIST_ITEM_MIN_HEIGHT = 80; +const TABLE_ROW_MIN_HEIGHT = 100; export interface OpenPositionsProps { hash: string; @@ -108,7 +108,12 @@ export class OpenPositions extends React.Component + {jobInfo.title} diff --git a/packages/website/ts/pages/jobs/photo_rail.tsx b/packages/website/ts/pages/jobs/photo_rail.tsx index bcc3444ec..4db4bc31b 100644 --- a/packages/website/ts/pages/jobs/photo_rail.tsx +++ b/packages/website/ts/pages/jobs/photo_rail.tsx @@ -2,9 +2,6 @@ import * as _ from 'lodash'; import * as React from 'react'; import { FilledImage } from 'ts/pages/jobs/filled_image'; -import { ScreenWidths } from 'ts/types'; - -const IMAGE_PATHS = ['/images/jobs/office1.png', '/images/jobs/office2.png', '/images/jobs/office3.png']; export interface PhotoRailProps { images: string[]; diff --git a/packages/website/ts/pages/jobs/teams.tsx b/packages/website/ts/pages/jobs/teams.tsx index dcb457d06..d5960949a 100644 --- a/packages/website/ts/pages/jobs/teams.tsx +++ b/packages/website/ts/pages/jobs/teams.tsx @@ -1,4 +1,3 @@ -import { colors } from '@0xproject/react-shared'; import * as _ from 'lodash'; import * as React from 'react'; diff --git a/packages/website/ts/pages/jobs/values.tsx b/packages/website/ts/pages/jobs/values.tsx index abacafdba..799db3d67 100644 --- a/packages/website/ts/pages/jobs/values.tsx +++ b/packages/website/ts/pages/jobs/values.tsx @@ -1,4 +1,3 @@ -import { colors } from '@0xproject/react-shared'; import * as _ from 'lodash'; import * as React from 'react'; -- cgit v1.2.3