diff options
author | Brandon Millman <brandon.millman@gmail.com> | 2018-07-26 06:55:06 +0800 |
---|---|---|
committer | Brandon Millman <brandon.millman@gmail.com> | 2018-07-26 06:55:06 +0800 |
commit | 31b8dd1bfcd453d3867e2190aa237a05e19c4653 (patch) | |
tree | 5121d6ce529747c6d436f6349672ab44342ae479 /packages/website | |
parent | 35113487f1239a788d1bf975d716a911d8b69f56 (diff) | |
download | dexon-sol-tools-31b8dd1bfcd453d3867e2190aa237a05e19c4653.tar dexon-sol-tools-31b8dd1bfcd453d3867e2190aa237a05e19c4653.tar.gz dexon-sol-tools-31b8dd1bfcd453d3867e2190aa237a05e19c4653.tar.bz2 dexon-sol-tools-31b8dd1bfcd453d3867e2190aa237a05e19c4653.tar.lz dexon-sol-tools-31b8dd1bfcd453d3867e2190aa237a05e19c4653.tar.xz dexon-sol-tools-31b8dd1bfcd453d3867e2190aa237a05e19c4653.tar.zst dexon-sol-tools-31b8dd1bfcd453d3867e2190aa237a05e19c4653.zip |
Remove careers page feature flag
Diffstat (limited to 'packages/website')
-rw-r--r-- | packages/website/ts/index.tsx | 13 | ||||
-rw-r--r-- | packages/website/ts/utils/utils.ts | 3 |
2 files changed, 2 insertions, 14 deletions
diff --git a/packages/website/ts/index.tsx b/packages/website/ts/index.tsx index 904a5f6df..bd32bfa34 100644 --- a/packages/website/ts/index.tsx +++ b/packages/website/ts/index.tsx @@ -76,10 +76,7 @@ render( <Switch> <Route exact={true} path="/" component={Landing as any} /> <Redirect from="/otc" to={`${WebsitePaths.Portal}`} /> - {/* TODO: Remove this once we ship the jobs page*/} - {utils.shouldShowJobsPage() && ( - <Route path={WebsitePaths.Careers} component={Jobs as any} /> - )} + <Route path={WebsitePaths.Careers} component={Jobs as any} /> <Route path={WebsitePaths.Portal} component={LazyPortal} /> <Route path={WebsitePaths.FAQ} component={FAQ as any} /> <Route path={WebsitePaths.About} component={About as any} /> @@ -129,13 +126,7 @@ render( path={`${WebsiteLegacyPaths.Deployer}/:version?`} component={LazySolCompilerDocumentation} /> - {/* TODO: Remove this once we ship the jobs page*/} - {utils.shouldShowJobsPage() ? ( - <Route path={WebsiteLegacyPaths.Jobs} component={Jobs as any} /> - ) : ( - <Route path={WebsiteLegacyPaths.Jobs} component={Redirector as any} /> - )} - + <Route path={WebsiteLegacyPaths.Jobs} component={Jobs as any} /> <Route path={`${WebsitePaths.Docs}`} component={LazyZeroExJSDocumentation} /> <Route component={NotFound as any} /> </Switch> diff --git a/packages/website/ts/utils/utils.ts b/packages/website/ts/utils/utils.ts index 439af5e4b..39bbd404c 100644 --- a/packages/website/ts/utils/utils.ts +++ b/packages/website/ts/utils/utils.ts @@ -363,9 +363,6 @@ export const utils = { } return Environments.UNKNOWN; }, - shouldShowJobsPage(): boolean { - return utils.isDevelopment() || utils.isStaging() || utils.isDogfood(); - }, getEthToken(tokenByAddress: TokenByAddress): Token { return utils.getTokenBySymbol(constants.ETHER_TOKEN_SYMBOL, tokenByAddress); }, |