diff options
author | Brandon Millman <brandon.millman@gmail.com> | 2018-07-05 05:27:46 +0800 |
---|---|---|
committer | Brandon Millman <brandon.millman@gmail.com> | 2018-07-06 05:31:05 +0800 |
commit | 7b8db1156daec88fa691744230bb129efefdfa48 (patch) | |
tree | 33b98a95da0eda14b5364d0c79ec6e37e4c45e1d /packages/website/ts/components/wallet | |
parent | e0f80c5e6aea48e83108d6c6cd481cdce26c9a4a (diff) | |
download | dexon-sol-tools-7b8db1156daec88fa691744230bb129efefdfa48.tar dexon-sol-tools-7b8db1156daec88fa691744230bb129efefdfa48.tar.gz dexon-sol-tools-7b8db1156daec88fa691744230bb129efefdfa48.tar.bz2 dexon-sol-tools-7b8db1156daec88fa691744230bb129efefdfa48.tar.lz dexon-sol-tools-7b8db1156daec88fa691744230bb129efefdfa48.tar.xz dexon-sol-tools-7b8db1156daec88fa691744230bb129efefdfa48.tar.zst dexon-sol-tools-7b8db1156daec88fa691744230bb129efefdfa48.zip |
Various fixes for portal on mobile and top bar layout
Diffstat (limited to 'packages/website/ts/components/wallet')
-rw-r--r-- | packages/website/ts/components/wallet/wallet.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/website/ts/components/wallet/wallet.tsx b/packages/website/ts/components/wallet/wallet.tsx index 1e0b9ec48..1d7be5dbc 100644 --- a/packages/website/ts/components/wallet/wallet.tsx +++ b/packages/website/ts/components/wallet/wallet.tsx @@ -224,10 +224,10 @@ export class Wallet extends React.Component<WalletProps, WalletState> { popoverContent={ <SimpleMenu minWidth="150px"> <CopyAddressSimpleMenuItem userAddress={this.props.userAddress} /> - <DifferentWalletSimpleMenuItem onClick={this.props.onToggleLedgerDialog} /> + {!isMobile && <DifferentWalletSimpleMenuItem onClick={this.props.onToggleLedgerDialog} />} <SimpleMenuItem displayText="Add Tokens..." onClick={this.props.onAddToken} /> <SimpleMenuItem displayText="Remove Tokens..." onClick={this.props.onRemoveToken} /> - <GoToAccountManagementSimpleMenuItem /> + {!isMobile && <GoToAccountManagementSimpleMenuItem />} </SimpleMenu> } anchorOrigin={{ horizontal: 'right', vertical: 'bottom' }} |