From bd7fc780cb8003a0b110615ff3c357ca9a426bd0 Mon Sep 17 00:00:00 2001 From: Brandon Millman Date: Tue, 15 May 2018 15:11:33 -0700 Subject: Hide wallet component for small screens --- packages/website/ts/components/portal/portal.tsx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'packages') diff --git a/packages/website/ts/components/portal/portal.tsx b/packages/website/ts/components/portal/portal.tsx index 9b1fe69a3..121e07e84 100644 --- a/packages/website/ts/components/portal/portal.tsx +++ b/packages/website/ts/components/portal/portal.tsx @@ -180,6 +180,8 @@ export class Portal extends React.Component { this.state.tokenManagementState === TokenManagementState.Add ? TokenVisibility.UNTRACKED : TokenVisibility.TRACKED; + + const isSmallScreen = this.props.screenWidth === ScreenWidths.Sm; return (
-- cgit v1.2.3