diff options
author | Brandon Millman <brandon.millman@gmail.com> | 2018-05-19 02:36:17 +0800 |
---|---|---|
committer | Brandon Millman <brandon.millman@gmail.com> | 2018-05-19 02:36:17 +0800 |
commit | e291146443e2dca839e9ee58f823dde3ab71093e (patch) | |
tree | 03c9c8b6cc1c66b462b7009edb470e340b17a46f /packages/website | |
parent | faa2b6237fdb41d48255c21e76f4dc8a49809adf (diff) | |
download | dexon-sol-tools-e291146443e2dca839e9ee58f823dde3ab71093e.tar dexon-sol-tools-e291146443e2dca839e9ee58f823dde3ab71093e.tar.gz dexon-sol-tools-e291146443e2dca839e9ee58f823dde3ab71093e.tar.bz2 dexon-sol-tools-e291146443e2dca839e9ee58f823dde3ab71093e.tar.lz dexon-sol-tools-e291146443e2dca839e9ee58f823dde3ab71093e.tar.xz dexon-sol-tools-e291146443e2dca839e9ee58f823dde3ab71093e.tar.zst dexon-sol-tools-e291146443e2dca839e9ee58f823dde3ab71093e.zip |
Prettier
Diffstat (limited to 'packages/website')
-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 889038652..fc516882a 100644 --- a/packages/website/ts/components/top_bar/provider_display.tsx +++ b/packages/website/ts/components/top_bar/provider_display.tsx @@ -43,7 +43,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 |