aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src
diff options
context:
space:
mode:
authorSteve Klebanoff <steve.klebanoff@gmail.com>2018-10-18 07:49:57 +0800
committerSteve Klebanoff <steve.klebanoff@gmail.com>2018-10-18 07:49:57 +0800
commit1d38b75d6f599b37c14bf06bf95811e4f6bafb54 (patch)
treec0ef6be4be96079aaffa99b348394084e399c24c /packages/instant/src
parent01b98c3ed09429dac92a46446bb73c8596116d18 (diff)
downloaddexon-0x-contracts-1d38b75d6f599b37c14bf06bf95811e4f6bafb54.tar.gz
dexon-0x-contracts-1d38b75d6f599b37c14bf06bf95811e4f6bafb54.tar.zst
dexon-0x-contracts-1d38b75d6f599b37c14bf06bf95811e4f6bafb54.zip
fix type
Diffstat (limited to 'packages/instant/src')
-rw-r--r--packages/instant/src/components/instant_heading.tsx2
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}>