aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/components
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-05-24 01:15:03 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-05-24 01:15:03 +0800
commit65f09d052831e7722f62478db6026ebb855c7f2c (patch)
tree742553368d37009b6631ca6441e8a8aefac6dc53 /packages/website/ts/components
parente3604c1662f9c815d628d3e1ce1cb43bc0c1849f (diff)
downloaddexon-sol-tools-65f09d052831e7722f62478db6026ebb855c7f2c.tar
dexon-sol-tools-65f09d052831e7722f62478db6026ebb855c7f2c.tar.gz
dexon-sol-tools-65f09d052831e7722f62478db6026ebb855c7f2c.tar.bz2
dexon-sol-tools-65f09d052831e7722f62478db6026ebb855c7f2c.tar.lz
dexon-sol-tools-65f09d052831e7722f62478db6026ebb855c7f2c.tar.xz
dexon-sol-tools-65f09d052831e7722f62478db6026ebb855c7f2c.tar.zst
dexon-sol-tools-65f09d052831e7722f62478db6026ebb855c7f2c.zip
Fix prettier
Diffstat (limited to 'packages/website/ts/components')
-rw-r--r--packages/website/ts/components/top_bar/provider_display.tsx4
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