From 2a24f6e2ea9bc4f879c9dff2a60c92dec0e1cc48 Mon Sep 17 00:00:00 2001 From: Fabio Berger Date: Thu, 8 Mar 2018 16:47:49 +0100 Subject: Fix prettier issues --- packages/react-shared/src/ts/components/markdown_section.tsx | 2 +- packages/react-shared/src/ts/components/section_header.tsx | 2 +- packages/react-shared/src/ts/utils/utils.ts | 6 +++++- 3 files changed, 7 insertions(+), 3 deletions(-) (limited to 'packages/react-shared/src') diff --git a/packages/react-shared/src/ts/components/markdown_section.tsx b/packages/react-shared/src/ts/components/markdown_section.tsx index 95dc83eaf..d24a43dcb 100644 --- a/packages/react-shared/src/ts/components/markdown_section.tsx +++ b/packages/react-shared/src/ts/components/markdown_section.tsx @@ -20,7 +20,7 @@ export interface MarkdownSectionProps { } interface DefaultMarkdownSectionProps { - headerSize: HeaderSizes; + headerSize: HeaderSizes; } type PropsWithDefaults = MarkdownSectionProps & DefaultMarkdownSectionProps; diff --git a/packages/react-shared/src/ts/components/section_header.tsx b/packages/react-shared/src/ts/components/section_header.tsx index e782783f3..ee34a6c09 100644 --- a/packages/react-shared/src/ts/components/section_header.tsx +++ b/packages/react-shared/src/ts/components/section_header.tsx @@ -13,7 +13,7 @@ export interface SectionHeaderProps { } interface DefaultSectionHeaderProps { - headerSize: HeaderSizes; + headerSize: HeaderSizes; } type PropsWithDefaults = SectionHeaderProps & DefaultSectionHeaderProps; diff --git a/packages/react-shared/src/ts/utils/utils.ts b/packages/react-shared/src/ts/utils/utils.ts index 9e848392f..b3acb081e 100644 --- a/packages/react-shared/src/ts/utils/utils.ts +++ b/packages/react-shared/src/ts/utils/utils.ts @@ -30,7 +30,11 @@ export const utils = { const id = name.replace(/ /g, '-'); return id; }, - getEtherScanLinkIfExists(addressOrTxHash: string, networkId: number, suffix: EtherscanLinkSuffixes): string|undefined { + getEtherScanLinkIfExists( + addressOrTxHash: string, + networkId: number, + suffix: EtherscanLinkSuffixes, + ): string | undefined { const networkName = constants.NETWORK_NAME_BY_ID[networkId]; if (_.isUndefined(networkName)) { return undefined; -- cgit v1.2.3