Fix prettier issues
This commit is contained in:
parent
98e8105ec5
commit
2a24f6e2ea
@ -20,7 +20,7 @@ export interface MarkdownSectionProps {
|
|||||||
}
|
}
|
||||||
|
|
||||||
interface DefaultMarkdownSectionProps {
|
interface DefaultMarkdownSectionProps {
|
||||||
headerSize: HeaderSizes;
|
headerSize: HeaderSizes;
|
||||||
}
|
}
|
||||||
|
|
||||||
type PropsWithDefaults = MarkdownSectionProps & DefaultMarkdownSectionProps;
|
type PropsWithDefaults = MarkdownSectionProps & DefaultMarkdownSectionProps;
|
||||||
|
@ -13,7 +13,7 @@ export interface SectionHeaderProps {
|
|||||||
}
|
}
|
||||||
|
|
||||||
interface DefaultSectionHeaderProps {
|
interface DefaultSectionHeaderProps {
|
||||||
headerSize: HeaderSizes;
|
headerSize: HeaderSizes;
|
||||||
}
|
}
|
||||||
|
|
||||||
type PropsWithDefaults = SectionHeaderProps & DefaultSectionHeaderProps;
|
type PropsWithDefaults = SectionHeaderProps & DefaultSectionHeaderProps;
|
||||||
|
@ -30,7 +30,11 @@ export const utils = {
|
|||||||
const id = name.replace(/ /g, '-');
|
const id = name.replace(/ /g, '-');
|
||||||
return id;
|
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];
|
const networkName = constants.NETWORK_NAME_BY_ID[networkId];
|
||||||
if (_.isUndefined(networkName)) {
|
if (_.isUndefined(networkName)) {
|
||||||
return undefined;
|
return undefined;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user