aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/pages
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-07-25 14:24:00 +0800
committerBrandon Millman <brandon.millman@gmail.com>2018-07-25 14:24:00 +0800
commit109c5df9730976f36f199394daa1ab619b85b2c0 (patch)
treef36cc0dc8e027cf0eabe996abb35016721ee755e /packages/website/ts/pages
parentb0fab3ea4a7238fca6538a85e251540cc4001040 (diff)
downloaddexon-sol-tools-109c5df9730976f36f199394daa1ab619b85b2c0.tar
dexon-sol-tools-109c5df9730976f36f199394daa1ab619b85b2c0.tar.gz
dexon-sol-tools-109c5df9730976f36f199394daa1ab619b85b2c0.tar.bz2
dexon-sol-tools-109c5df9730976f36f199394daa1ab619b85b2c0.tar.lz
dexon-sol-tools-109c5df9730976f36f199394daa1ab619b85b2c0.tar.xz
dexon-sol-tools-109c5df9730976f36f199394daa1ab619b85b2c0.tar.zst
dexon-sol-tools-109c5df9730976f36f199394daa1ab619b85b2c0.zip
Use isMobileWidth util
Diffstat (limited to 'packages/website/ts/pages')
-rw-r--r--packages/website/ts/pages/jobs/open_positions.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/website/ts/pages/jobs/open_positions.tsx b/packages/website/ts/pages/jobs/open_positions.tsx
index 99242c6c5..892653afd 100644
--- a/packages/website/ts/pages/jobs/open_positions.tsx
+++ b/packages/website/ts/pages/jobs/open_positions.tsx
@@ -41,7 +41,7 @@ export class OpenPositions extends React.Component<OpenPositionsProps, OpenPosit
}
public render(): React.ReactNode {
const isReadyToRender = _.isUndefined(this.state.error) && !_.isUndefined(this.state.jobInfos);
- const isSmallScreen = this.props.screenWidth === ScreenWidths.Sm;
+ const isSmallScreen = utils.isMobileWidth(this.props.screenWidth);
return (
<Container id={this.props.hash} className="mx-auto pb4 px3" maxWidth="1200px">
{!isSmallScreen && (