aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-05-16 06:11:33 +0800
committerBrandon Millman <brandon.millman@gmail.com>2018-05-19 02:35:13 +0800
commitbd7fc780cb8003a0b110615ff3c357ca9a426bd0 (patch)
tree3f1ad405af8660c44c8a85c870204bc9d57b71df /packages
parent4b343d9dcfab1afbac4904926dfe26e073aef3bc (diff)
downloaddexon-sol-tools-bd7fc780cb8003a0b110615ff3c357ca9a426bd0.tar.gz
dexon-sol-tools-bd7fc780cb8003a0b110615ff3c357ca9a426bd0.tar.zst
dexon-sol-tools-bd7fc780cb8003a0b110615ff3c357ca9a426bd0.zip
Hide wallet component for small screens
Diffstat (limited to 'packages')
-rw-r--r--packages/website/ts/components/portal/portal.tsx2
1 files changed, 2 insertions, 0 deletions
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<PortalProps, PortalState> {
this.state.tokenManagementState === TokenManagementState.Add
? TokenVisibility.UNTRACKED
: TokenVisibility.TRACKED;
+
+ const isSmallScreen = this.props.screenWidth === ScreenWidths.Sm;
return (
<div style={styles.root}>
<DocumentTitle title="0x Portal DApp" />