diff options
author | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-10-18 07:49:57 +0800 |
---|---|---|
committer | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-10-18 07:49:57 +0800 |
commit | 1d38b75d6f599b37c14bf06bf95811e4f6bafb54 (patch) | |
tree | c0ef6be4be96079aaffa99b348394084e399c24c /packages/instant | |
parent | 01b98c3ed09429dac92a46446bb73c8596116d18 (diff) | |
download | dexon-sol-tools-1d38b75d6f599b37c14bf06bf95811e4f6bafb54.tar dexon-sol-tools-1d38b75d6f599b37c14bf06bf95811e4f6bafb54.tar.gz dexon-sol-tools-1d38b75d6f599b37c14bf06bf95811e4f6bafb54.tar.bz2 dexon-sol-tools-1d38b75d6f599b37c14bf06bf95811e4f6bafb54.tar.lz dexon-sol-tools-1d38b75d6f599b37c14bf06bf95811e4f6bafb54.tar.xz dexon-sol-tools-1d38b75d6f599b37c14bf06bf95811e4f6bafb54.tar.zst dexon-sol-tools-1d38b75d6f599b37c14bf06bf95811e4f6bafb54.zip |
fix type
Diffstat (limited to 'packages/instant')
-rw-r--r-- | packages/instant/src/components/instant_heading.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/instant/src/components/instant_heading.tsx b/packages/instant/src/components/instant_heading.tsx index 73a419019..f57b59b73 100644 --- a/packages/instant/src/components/instant_heading.tsx +++ b/packages/instant/src/components/instant_heading.tsx @@ -42,7 +42,7 @@ const displayUsdAmount = ({ return format.ethBaseAmountInUsd(totalEthBaseAmount, ethUsdPrice, 2, <Placeholder />); }; -const loadingOrAmount = (quoteState: AsyncProcessState, amount: string): React.ReactNode => { +const loadingOrAmount = (quoteState: AsyncProcessState, amount: React.ReactNode): React.ReactNode => { if (quoteState === AsyncProcessState.PENDING) { return ( <Text fontWeight="bold" fontColor={ColorOption.white}> |