Fix prettier issues

This commit is contained in:
Fabio Berger 2018-03-08 16:47:49 +01:00
parent 98e8105ec5
commit 2a24f6e2ea
3 changed files with 7 additions and 3 deletions

View File

@ -20,7 +20,7 @@ export interface MarkdownSectionProps {
}
interface DefaultMarkdownSectionProps {
headerSize: HeaderSizes;
headerSize: HeaderSizes;
}
type PropsWithDefaults = MarkdownSectionProps & DefaultMarkdownSectionProps;

View File

@ -13,7 +13,7 @@ export interface SectionHeaderProps {
}
interface DefaultSectionHeaderProps {
headerSize: HeaderSizes;
headerSize: HeaderSizes;
}
type PropsWithDefaults = SectionHeaderProps & DefaultSectionHeaderProps;

View File

@ -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;