From 1026952f26043611c4aa3d77b2024cae304021e9 Mon Sep 17 00:00:00 2001 From: fragosti Date: Fri, 25 May 2018 13:13:06 -0700 Subject: Run linter --- packages/website/ts/components/top_bar/provider_display.tsx | 5 ++++- packages/website/ts/utils/utils.ts | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'packages/website/ts') 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 { 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 diff --git a/packages/website/ts/utils/utils.ts b/packages/website/ts/utils/utils.ts index 1d4f7eb5c..c0d055070 100644 --- a/packages/website/ts/utils/utils.ts +++ b/packages/website/ts/utils/utils.ts @@ -11,9 +11,9 @@ import { Environments, Order, Providers, + ProviderType, ScreenWidths, Side, - ProviderType, SideToAssetToken, Token, TokenByAddress, -- cgit