diff --git a/src/typescript/frontend/src/components/pages/emojicoin/components/main-info/MainInfo.tsx b/src/typescript/frontend/src/components/pages/emojicoin/components/main-info/MainInfo.tsx index 6ce41ecfa..2fd4d88b4 100644 --- a/src/typescript/frontend/src/components/pages/emojicoin/components/main-info/MainInfo.tsx +++ b/src/typescript/frontend/src/components/pages/emojicoin/components/main-info/MainInfo.tsx @@ -113,9 +113,7 @@ const MainInfo = ({ data }: MainInfoProps) => {
{t("Market Cap:")}
- - {marketCap} - +  
@@ -126,9 +124,7 @@ const MainInfo = ({ data }: MainInfoProps) => {
{t("24 hour vol:")}
- - {dailyVolume} - +  
@@ -139,9 +135,7 @@ const MainInfo = ({ data }: MainInfoProps) => {
{t("All-time vol:")}
- - {allTimeVolume} - +  
diff --git a/src/typescript/frontend/src/components/pages/emojicoin/components/trade-emojicoin/SwapComponent.tsx b/src/typescript/frontend/src/components/pages/emojicoin/components/trade-emojicoin/SwapComponent.tsx index 1a86ad72d..15b74c9d0 100644 --- a/src/typescript/frontend/src/components/pages/emojicoin/components/trade-emojicoin/SwapComponent.tsx +++ b/src/typescript/frontend/src/components/pages/emojicoin/components/trade-emojicoin/SwapComponent.tsx @@ -261,9 +261,12 @@ export default function SwapComponent({ style={{ opacity: isLoading ? 0.6 : 1 }} > {/* Scrambled swap result output below. */} - - {isLoading ? previous : outputAmount} - +
diff --git a/src/typescript/frontend/src/components/pages/home/components/main-card/MainCard.tsx b/src/typescript/frontend/src/components/pages/home/components/main-card/MainCard.tsx index 9e1424e35..b5d534969 100644 --- a/src/typescript/frontend/src/components/pages/home/components/main-card/MainCard.tsx +++ b/src/typescript/frontend/src/components/pages/home/components/main-card/MainCard.tsx @@ -146,9 +146,7 @@ const MainCard = (props: MainCardProps) => {
- - {marketCap} - +  
@@ -167,9 +165,7 @@ const MainCard = (props: MainCardProps) => {
- - {dailyVolume} - +  
@@ -186,9 +182,7 @@ const MainCard = (props: MainCardProps) => {
- - {allTimeVolume} - +  
diff --git a/src/typescript/frontend/src/components/pages/home/components/table-card/TableCard.tsx b/src/typescript/frontend/src/components/pages/home/components/table-card/TableCard.tsx index ba27908c4..8ede85ae1 100644 --- a/src/typescript/frontend/src/components/pages/home/components/table-card/TableCard.tsx +++ b/src/typescript/frontend/src/components/pages/home/components/table-card/TableCard.tsx @@ -259,9 +259,7 @@ const TableCard = ({ className="body-sm uppercase font-forma" style={{ color: "#FFFFFFFF", filter: "brightness(1) contrast(1)" }} > - - {marketCap} - + @@ -279,9 +277,7 @@ const TableCard = ({ className="body-sm uppercase font-forma" style={{ color: "#FFFFFFFF", filter: "brightness(1) contrast(1)" }} > - - {secondaryMetric} - + diff --git a/src/typescript/frontend/src/components/pages/pools/components/liquidity/index.tsx b/src/typescript/frontend/src/components/pages/pools/components/liquidity/index.tsx index a7fb3d045..2e6fd3818 100644 --- a/src/typescript/frontend/src/components/pages/pools/components/liquidity/index.tsx +++ b/src/typescript/frontend/src/components/pages/pools/components/liquidity/index.tsx @@ -159,12 +159,11 @@ const Liquidity = ({ market }: LiquidityProps) => { {direction === "add" ? t("You deposit") : t("You get")} {balanceLabel} - {aptBalance} - + /> {")"}
{direction === "add" ? ( @@ -176,12 +175,11 @@ const Liquidity = ({ market }: LiquidityProps) => { /> ) : ( - {BigInt(removeLiquidityResult?.quote_amount ?? 0)} - + /> )} @@ -195,25 +193,23 @@ const Liquidity = ({ market }: LiquidityProps) => { {direction === "add" ? "You deposit" : "You get"} {balanceLabel} - {emojicoinBalance} - + /> {")"} - {BigInt( + value={BigInt( (direction === "add" ? provideLiquidityResult?.base_amount : removeLiquidityResult?.base_amount) ?? 0 )} - + decimals={3} + className={inputAndOutputStyles + ` bg-transparent leading-[32px] !text-light-gray/[.6]`} + nominalize + />
@@ -229,22 +225,20 @@ const Liquidity = ({ market }: LiquidityProps) => { {direction === "remove" ? "You deposit" : "You get"} {balanceLabel} - {emojicoinLPBalance} - + /> {")"}
{direction === "add" ? ( - {BigInt(provideLiquidityResult?.lp_coin_amount ?? 0)} - + /> ) : ( { {market ? ( - - {market.state.cpammRealReserves.quote} - + ) : ( "-" )} @@ -423,9 +419,11 @@ const Liquidity = ({ market }: LiquidityProps) => { {market ? ( - - {market.state.cpammRealReserves.base} - + ) : ( "-" )} diff --git a/src/typescript/frontend/src/components/price-feed/inner.tsx b/src/typescript/frontend/src/components/price-feed/inner.tsx index 8672017c8..1dfd98545 100644 --- a/src/typescript/frontend/src/components/price-feed/inner.tsx +++ b/src/typescript/frontend/src/components/price-feed/inner.tsx @@ -21,9 +21,7 @@ export const PriceDelta = ({ delta, className = "" }: { delta: number; className return ( = 0 ? "text-green" : "text-pink"}`, className)}> - - {Math.abs(delta)} - + ); };