diff options
author | Brandon Millman <brandon.millman@gmail.com> | 2018-07-25 14:24:00 +0800 |
---|---|---|
committer | Brandon Millman <brandon.millman@gmail.com> | 2018-07-25 14:24:00 +0800 |
commit | 109c5df9730976f36f199394daa1ab619b85b2c0 (patch) | |
tree | f36cc0dc8e027cf0eabe996abb35016721ee755e /packages/website/ts/pages | |
parent | b0fab3ea4a7238fca6538a85e251540cc4001040 (diff) | |
download | dexon-sol-tools-109c5df9730976f36f199394daa1ab619b85b2c0.tar.gz 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.tsx | 2 |
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 && ( |