Hide wallet component for small screens

This commit is contained in:
Brandon Millman
2018-05-15 15:11:33 -07:00
parent 4b343d9dcf
commit bd7fc780cb

View File

@@ -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" />