aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-07-19 05:30:44 +0800
committerBrandon Millman <brandon.millman@gmail.com>2018-07-19 05:30:44 +0800
commitc7f196b57998eab35358ce719b7364850dd68bce (patch)
treedfe4a0d7700a9dca770a416d553dffb522cb5d91
parentb28a88dbb2d238f6d5212358ea6d06c4999cb9f2 (diff)
downloaddexon-sol-tools-c7f196b57998eab35358ce719b7364850dd68bce.tar.gz
dexon-sol-tools-c7f196b57998eab35358ce719b7364850dd68bce.tar.zst
dexon-sol-tools-c7f196b57998eab35358ce719b7364850dd68bce.zip
Fix lint errors
-rw-r--r--packages/website/ts/pages/jobs/benefits.tsx5
-rw-r--r--packages/website/ts/pages/jobs/jobs.tsx7
-rw-r--r--packages/website/ts/pages/jobs/open_positions.tsx14
3 files changed, 0 insertions, 26 deletions
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<BenefitItemProps> = ({ description }
</Container>
);
-const openMissionAndValuesBlogPost = () => {
- utils.openUrl(constants.URL_MISSION_AND_VALUES_BLOG_POST);
-};
const ValuesList = () => {
return (
<Container maxWidth="360px">
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<JobsProps, JobsState> {
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<OpenPositionsProps, OpenPosit
</Container>
);
}
- private _renderJobInfoTableRow(jobInfo: WebsiteBackendJobInfo): React.ReactNode {
- return (
- <Container className="flex items-center" minHeight={TABLE_ROW_MIN_HEIGHT} width="100%" marginBottom="30px">
- <Container className="clearfix container" width="100%">
- <Container className="col col-5">{jobInfo.title}</Container>
- <Container className="col col-3">{jobInfo.department}</Container>
- <Container className="col col-4">{jobInfo.office}</Container>
- </Container>
- </Container>
- );
- }
private async _fetchJobInfosAsync(): Promise<void> {
try {
if (!this._isUnmounted) {