From c7f196b57998eab35358ce719b7364850dd68bce Mon Sep 17 00:00:00 2001 From: Brandon Millman Date: Wed, 18 Jul 2018 14:30:44 -0700 Subject: Fix lint errors --- packages/website/ts/pages/jobs/benefits.tsx | 5 ----- packages/website/ts/pages/jobs/jobs.tsx | 7 ------- packages/website/ts/pages/jobs/open_positions.tsx | 14 -------------- 3 files changed, 26 deletions(-) (limited to 'packages/website/ts/pages') diff --git a/packages/website/ts/pages/jobs/benefits.tsx b/packages/website/ts/pages/jobs/benefits.tsx index 4ccc5a909..87412ed22 100644 --- a/packages/website/ts/pages/jobs/benefits.tsx +++ b/packages/website/ts/pages/jobs/benefits.tsx @@ -3,13 +3,11 @@ import * as React from 'react'; import { Circle } from 'ts/components/ui/circle'; import { Container } from 'ts/components/ui/container'; -import { FilledImage } from 'ts/components/ui/filled_image'; import { Image } from 'ts/components/ui/image'; import { Text } from 'ts/components/ui/text'; import { colors } from 'ts/style/colors'; import { ScreenWidths } from 'ts/types'; import { constants } from 'ts/utils/constants'; -import { utils } from 'ts/utils/utils'; const BENEFITS = [ 'Comprehensive insurance. Medical, dental, and vision coverage for you and your family.', @@ -100,9 +98,6 @@ const BenefitItem: React.StatelessComponent = ({ description } ); -const openMissionAndValuesBlogPost = () => { - utils.openUrl(constants.URL_MISSION_AND_VALUES_BLOG_POST); -}; const ValuesList = () => { return ( diff --git a/packages/website/ts/pages/jobs/jobs.tsx b/packages/website/ts/pages/jobs/jobs.tsx index 6db19e67f..ed285799e 100644 --- a/packages/website/ts/pages/jobs/jobs.tsx +++ b/packages/website/ts/pages/jobs/jobs.tsx @@ -5,12 +5,10 @@ import * as DocumentTitle from 'react-document-title'; import { Footer } from 'ts/components/footer'; import { TopBar } from 'ts/components/top_bar/top_bar'; -import { FilledImage } from 'ts/components/ui/filled_image'; import { Benefits } from 'ts/pages/jobs/benefits'; import { Join0x } from 'ts/pages/jobs/join_0x'; import { Mission } from 'ts/pages/jobs/mission'; import { OpenPositions } from 'ts/pages/jobs/open_positions'; -import { PhotoRail } from 'ts/pages/jobs/photo_rail'; import { Dispatcher } from 'ts/redux/dispatcher'; import { ScreenWidths } from 'ts/types'; import { Translate } from 'ts/utils/translate'; @@ -18,7 +16,6 @@ import { utils } from 'ts/utils/utils'; const OPEN_POSITIONS_HASH = 'positions'; const THROTTLE_TIMEOUT = 100; -const PHOTO_RAIL_IMAGES = ['/images/jobs/office1.png', '/images/jobs/office2.png', '/images/jobs/office3.png']; export interface JobsProps { location: Location; @@ -65,8 +62,4 @@ export class Jobs extends React.Component { const newScreenWidth = utils.getScreenWidth(); this.props.dispatcher.updateScreenWidth(newScreenWidth); } - private _isSmallScreen(): boolean { - const isSmallScreen = this.props.screenWidth === ScreenWidths.Sm; - return isSmallScreen; - } } diff --git a/packages/website/ts/pages/jobs/open_positions.tsx b/packages/website/ts/pages/jobs/open_positions.tsx index 160b198d6..a5a1bf5c7 100644 --- a/packages/website/ts/pages/jobs/open_positions.tsx +++ b/packages/website/ts/pages/jobs/open_positions.tsx @@ -1,6 +1,5 @@ import * as _ from 'lodash'; import CircularProgress from 'material-ui/CircularProgress'; -import { Table, TableBody, TableHeader, TableHeaderColumn, TableRow, TableRowColumn } from 'material-ui/Table'; import * as React from 'react'; import { Container } from 'ts/components/ui/container'; @@ -12,8 +11,6 @@ import { ScreenWidths, WebsiteBackendJobInfo } from 'ts/types'; import { backendClient } from 'ts/utils/backend_client'; import { utils } from 'ts/utils/utils'; -const labelStyle = { fontFamily: 'Roboto Mono', fontSize: 18 }; -const HEADER_TEXT = 'Open Positions'; const TABLE_ROW_MIN_HEIGHT = 100; export interface OpenPositionsProps { @@ -90,17 +87,6 @@ export class OpenPositions extends React.Component ); } - private _renderJobInfoTableRow(jobInfo: WebsiteBackendJobInfo): React.ReactNode { - return ( - - - {jobInfo.title} - {jobInfo.department} - {jobInfo.office} - - - ); - } private async _fetchJobInfosAsync(): Promise { try { if (!this._isUnmounted) { -- cgit v1.2.3