diff options
author | Brandon Millman <brandon.millman@gmail.com> | 2018-06-28 05:17:58 +0800 |
---|---|---|
committer | Brandon Millman <brandon.millman@gmail.com> | 2018-06-29 02:50:08 +0800 |
commit | 7ee37fb62af7014f8a2aae435458302887781be0 (patch) | |
tree | f21d4127954cd3b8ead16cb8233ab81e51976dcf /packages/website/ts/components/wallet/wallet.tsx | |
parent | 2970e103db963b1ef37924c2724c5b1ca10e14fb (diff) | |
download | dexon-0x-contracts-7ee37fb62af7014f8a2aae435458302887781be0.tar dexon-0x-contracts-7ee37fb62af7014f8a2aae435458302887781be0.tar.gz dexon-0x-contracts-7ee37fb62af7014f8a2aae435458302887781be0.tar.bz2 dexon-0x-contracts-7ee37fb62af7014f8a2aae435458302887781be0.tar.lz dexon-0x-contracts-7ee37fb62af7014f8a2aae435458302887781be0.tar.xz dexon-0x-contracts-7ee37fb62af7014f8a2aae435458302887781be0.tar.zst dexon-0x-contracts-7ee37fb62af7014f8a2aae435458302887781be0.zip |
Implement new locked and uninstalled states
Diffstat (limited to 'packages/website/ts/components/wallet/wallet.tsx')
-rw-r--r-- | packages/website/ts/components/wallet/wallet.tsx | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/packages/website/ts/components/wallet/wallet.tsx b/packages/website/ts/components/wallet/wallet.tsx index 4c1d27598..9e9bb2e97 100644 --- a/packages/website/ts/components/wallet/wallet.tsx +++ b/packages/website/ts/components/wallet/wallet.tsx @@ -26,6 +26,7 @@ import { Identicon } from 'ts/components/ui/identicon'; import { Island } from 'ts/components/ui/island'; import { Text } from 'ts/components/ui/text'; import { TokenIcon } from 'ts/components/ui/token_icon'; +import { BodyOverlay } from 'ts/components/wallet/body_overlay'; import { WalletDisconnectedItem } from 'ts/components/wallet/wallet_disconnected_item'; import { WrapEtherItem } from 'ts/components/wallet/wrap_ether_item'; import { AllowanceToggle } from 'ts/containers/inputs/allowance_toggle'; @@ -196,6 +197,25 @@ export class Wallet extends React.Component<WalletProps, WalletState> { {_.map(loadingRowsRange, index => { return <NullTokenRow />; })} + <Container + className="flex items-center" + position="absolute" + width="100%" + height="100%" + maxHeight={bodyStyle.maxHeight} + > + <div className="mx-auto"> + <BodyOverlay + dispatcher={this.props.dispatcher} + userAddress={this.props.userAddress} + injectedProviderName={this.props.injectedProviderName} + providerType={this.props.providerType} + onToggleLedgerDialog={this.props.onToggleLedgerDialog} + blockchain={this.props.blockchain} + blockchainIsLoaded={this.props.blockchainIsLoaded} + /> + </div> + </Container> </div> ); } |