diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-05-23 09:12:23 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-05-24 00:41:35 +0800 |
commit | e3604c1662f9c815d628d3e1ce1cb43bc0c1849f (patch) | |
tree | 0ad24a14b2519b2403210d7d38a279c5d19d9fbb /packages/website/ts | |
parent | 5913d654bdf77d25b95570b1e656f63cc89ff97a (diff) | |
download | dexon-sol-tools-e3604c1662f9c815d628d3e1ce1cb43bc0c1849f.tar dexon-sol-tools-e3604c1662f9c815d628d3e1ce1cb43bc0c1849f.tar.gz dexon-sol-tools-e3604c1662f9c815d628d3e1ce1cb43bc0c1849f.tar.bz2 dexon-sol-tools-e3604c1662f9c815d628d3e1ce1cb43bc0c1849f.tar.lz dexon-sol-tools-e3604c1662f9c815d628d3e1ce1cb43bc0c1849f.tar.xz dexon-sol-tools-e3604c1662f9c815d628d3e1ce1cb43bc0c1849f.tar.zst dexon-sol-tools-e3604c1662f9c815d628d3e1ce1cb43bc0c1849f.zip |
Fix prettier
Diffstat (limited to 'packages/website/ts')
-rw-r--r-- | packages/website/ts/components/top_bar/provider_display.tsx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/packages/website/ts/components/top_bar/provider_display.tsx b/packages/website/ts/components/top_bar/provider_display.tsx index fc516882a..889038652 100644 --- a/packages/website/ts/components/top_bar/provider_display.tsx +++ b/packages/website/ts/components/top_bar/provider_display.tsx @@ -43,9 +43,7 @@ export class ProviderDisplay extends React.Component<ProviderDisplayProps, Provi this.props.providerType === ProviderType.Injected && this.props.injectedProviderName !== '0x Public'; const displayAddress = isAddressAvailable ? utils.getAddressBeginAndEnd(this.props.userAddress) - : isExternallyInjectedProvider - ? 'Account locked' - : '0x0000...0000'; + : isExternallyInjectedProvider ? 'Account locked' : '0x0000...0000'; // If the "injected" provider is our fallback public node, then we want to // show the "connect a wallet" message instead of the providerName const injectedProviderName = isExternallyInjectedProvider |