diff options
author | Amir Bandeali <abandeali1@gmail.com> | 2018-04-20 03:18:53 +0800 |
---|---|---|
committer | Amir Bandeali <abandeali1@gmail.com> | 2018-04-21 04:57:18 +0800 |
commit | e532f2c1650d845aa1186daa8983de18d8affc3c (patch) | |
tree | 8a367338d5fd40951d5fb6a002995946452a3a80 /packages/website/ts/components/top_bar | |
parent | a0c7da95c25bbfc324026acb0c8ee162bb25859e (diff) | |
download | dexon-0x-contracts-e532f2c1650d845aa1186daa8983de18d8affc3c.tar.gz dexon-0x-contracts-e532f2c1650d845aa1186daa8983de18d8affc3c.tar.zst dexon-0x-contracts-e532f2c1650d845aa1186daa8983de18d8affc3c.zip |
Fix zeppelin imports, run prettier
Diffstat (limited to 'packages/website/ts/components/top_bar')
-rw-r--r-- | packages/website/ts/components/top_bar/provider_display.tsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/website/ts/components/top_bar/provider_display.tsx b/packages/website/ts/components/top_bar/provider_display.tsx index 221c34f8c..79e7c3e2d 100644 --- a/packages/website/ts/components/top_bar/provider_display.tsx +++ b/packages/website/ts/components/top_bar/provider_display.tsx @@ -32,7 +32,9 @@ 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 |