aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/components/portal/portal.tsx
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-05-23 02:42:52 +0800
committerFabio Berger <me@fabioberger.com>2018-05-23 02:42:52 +0800
commit61fa34e2ce9481333c0632dabdaf03582c71a78a (patch)
treef578357673b508d09e4116c861ed661b98ca3e19 /packages/website/ts/components/portal/portal.tsx
parent09e59cf67761e86046221d058a9632730a5a632a (diff)
downloaddexon-0x-contracts-61fa34e2ce9481333c0632dabdaf03582c71a78a.tar.gz
dexon-0x-contracts-61fa34e2ce9481333c0632dabdaf03582c71a78a.tar.zst
dexon-0x-contracts-61fa34e2ce9481333c0632dabdaf03582c71a78a.zip
Fix tslint
Diffstat (limited to 'packages/website/ts/components/portal/portal.tsx')
-rw-r--r--packages/website/ts/components/portal/portal.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/website/ts/components/portal/portal.tsx b/packages/website/ts/components/portal/portal.tsx
index b992204a7..1bd318c28 100644
--- a/packages/website/ts/components/portal/portal.tsx
+++ b/packages/website/ts/components/portal/portal.tsx
@@ -466,8 +466,8 @@ export class Portal extends React.Component<PortalProps, PortalState> {
this.props.dispatcher.updateScreenWidth(newScreenWidth);
}
private _isSmallScreen(): boolean {
- const result = this.props.screenWidth === ScreenWidths.Sm;
- return result;
+ const isSmallScreen = this.props.screenWidth === ScreenWidths.Sm;
+ return isSmallScreen;
}
}