diff --git a/components/swap/SwapForm.tsx b/components/swap/SwapForm.tsx index 307b1035..3069b4bf 100644 --- a/components/swap/SwapForm.tsx +++ b/components/swap/SwapForm.tsx @@ -194,7 +194,7 @@ const SwapForm = () => {
{ decimalScale={inputTokenInfo?.decimals || 6} name="amountIn" id="amountIn" - className="w-full rounded-lg rounded-l-none border border-th-bkg-4 bg-th-bkg-1 p-3 text-right font-mono text-xl font-bold text-th-fgd-1 focus:outline-none" + className="w-full rounded-lg rounded-l-none border border-th-bkg-4 bg-th-bkg-1 p-3 text-right font-mono text-base font-bold text-th-fgd-1 focus:outline-none xl:text-xl" placeholder="0.00" value={amountInFormValue} onValueChange={handleAmountInChange} @@ -313,7 +313,7 @@ const SwapForm = () => { type="output" />
-
+
{loadingSwapDetails ? (
@@ -321,9 +321,24 @@ const SwapForm = () => {
) : ( - - {amountOut ? numberFormat.format(amountOut.toNumber()) : ''} - + // + // {amountOut ? numberFormat.format(amountOut.toNumber()) : ''} + // + )}
diff --git a/components/swap/SwapPage.tsx b/components/swap/SwapPage.tsx index 075fb783..bb191e98 100644 --- a/components/swap/SwapPage.tsx +++ b/components/swap/SwapPage.tsx @@ -1,4 +1,4 @@ -import Swap from './SwapForm' +import SwapForm from './SwapForm' import mangoStore from '@store/mangoStore' import SwapOnboardingTour from '@components/tours/SwapOnboardingTour' import { useWallet } from '@solana/wallet-adapter-react' @@ -15,7 +15,7 @@ const SwapPage = () => { return ( <>
-
+
{inputTokenInfo?.extensions?.coingeckoId && outputTokenInfo?.extensions?.coingeckoId ? ( { /> ) : null}
-
- +
+