aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/components
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-05-26 04:13:06 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-05-26 04:13:06 +0800
commit1026952f26043611c4aa3d77b2024cae304021e9 (patch)
tree7ae007aad014804262eecc61aa548c068df6859f /packages/website/ts/components
parent9631927a8cbbc739f1e1d0d574c61e19803ee0dc (diff)
downloaddexon-sol-tools-1026952f26043611c4aa3d77b2024cae304021e9.tar
dexon-sol-tools-1026952f26043611c4aa3d77b2024cae304021e9.tar.gz
dexon-sol-tools-1026952f26043611c4aa3d77b2024cae304021e9.tar.bz2
dexon-sol-tools-1026952f26043611c4aa3d77b2024cae304021e9.tar.lz
dexon-sol-tools-1026952f26043611c4aa3d77b2024cae304021e9.tar.xz
dexon-sol-tools-1026952f26043611c4aa3d77b2024cae304021e9.tar.zst
dexon-sol-tools-1026952f26043611c4aa3d77b2024cae304021e9.zip
Run linter
Diffstat (limited to 'packages/website/ts/components')
-rw-r--r--packages/website/ts/components/top_bar/provider_display.tsx5
1 files changed, 4 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 4dc37f231..1cead7a5d 100644
--- a/packages/website/ts/components/top_bar/provider_display.tsx
+++ b/packages/website/ts/components/top_bar/provider_display.tsx
@@ -39,7 +39,10 @@ const styles: Styles = {
export class ProviderDisplay extends React.Component<ProviderDisplayProps, ProviderDisplayState> {
public render(): React.ReactNode {
const isAddressAvailable = !_.isEmpty(this.props.userAddress);
- const isExternallyInjectedProvider = utils.isExternallyInjected(this.props.providerType, this.props.injectedProviderName);
+ const isExternallyInjectedProvider = utils.isExternallyInjected(
+ this.props.providerType,
+ this.props.injectedProviderName,
+ );
const displayAddress = isAddressAvailable
? utils.getAddressBeginAndEnd(this.props.userAddress)
: isExternallyInjectedProvider