diff --git a/src/components/DisplayCurrency.tsx b/src/components/DisplayCurrency.tsx index b19ee332..be3ae9b7 100644 --- a/src/components/DisplayCurrency.tsx +++ b/src/components/DisplayCurrency.tsx @@ -18,6 +18,7 @@ interface Props { isApproximation?: boolean parentheses?: boolean showZero?: boolean + abbreviated?: boolean } export default function DisplayCurrency(props: Props) { @@ -70,7 +71,7 @@ export default function DisplayCurrency(props: Props) { options={{ minDecimals: isUSD ? 2 : 0, maxDecimals: 2, - abbreviated: true, + abbreviated: props.abbreviated ?? true, prefix, suffix, }} diff --git a/src/components/Earn/Tab.tsx b/src/components/Earn/Tab.tsx index 1495c47c..4b534bae 100644 --- a/src/components/Earn/Tab.tsx +++ b/src/components/Earn/Tab.tsx @@ -10,6 +10,7 @@ const underlineClasses = interface Props { tabs: Tab[] activeTabIdx: number + className?: string } export default function Tab(props: Props) { @@ -17,7 +18,7 @@ export default function Tab(props: Props) { const { address } = useParams() return ( -