diff --git a/src/components/dex/OrdersPool/columns/index.tsx b/src/components/dex/OrdersPool/columns/index.tsx index 60e0d5d..86a19da 100644 --- a/src/components/dex/OrdersPool/columns/index.tsx +++ b/src/components/dex/OrdersPool/columns/index.tsx @@ -25,7 +25,7 @@ export function buildOrderPoolColumns({ key: 'quantity', header: <>Qty ({firstCurrencyName}), width: '80px', - cell: (row) =>

{notationToString(row.amount, 8)}

, + cell: (row) =>

{notationToString(row.left, 8)}

, }, { key: 'total', diff --git a/src/components/dex/OrdersPool/index.tsx b/src/components/dex/OrdersPool/index.tsx index 66a92a6..ff007af 100644 --- a/src/components/dex/OrdersPool/index.tsx +++ b/src/components/dex/OrdersPool/index.tsx @@ -389,7 +389,7 @@ const OrdersPool = (props: OrdersPoolProps) => {
Amount ({firstCurrencyName})
-

{notationToString(ordersInfoTooltip?.amount)}

+

{notationToString(ordersInfoTooltip?.left)}

Total ({secondCurrencyName})

{notationToString(totalDecimal.toString())}

diff --git a/src/components/dex/TradingHeader/index.tsx b/src/components/dex/TradingHeader/index.tsx index c740d8f..8195d1d 100644 --- a/src/components/dex/TradingHeader/index.tsx +++ b/src/components/dex/TradingHeader/index.tsx @@ -4,8 +4,8 @@ import { ReactComponent as DownIcon } from '@/assets/images/UI/down_icon.svg'; import { ReactComponent as VolumeIcon } from '@/assets/images/UI/volume_icon.svg'; import BackButton from '@/components/default/BackButton/BackButton'; import { roundTo, notationToString, classes } from '@/utils/utils'; -import questionIcon from '@/assets/images/UI/question.svg'; -import Image from 'next/image'; +// import questionIcon from '@/assets/images/UI/question.svg'; +// import Image from 'next/image'; import styles from './styles.module.scss'; import StatItem from './components/StatItem'; import { TradingHeaderProps } from './types'; @@ -122,9 +122,9 @@ const TradingHeader = ({
- + */}
diff --git a/src/components/dex/UserOrders/columns/index.tsx b/src/components/dex/UserOrders/columns/index.tsx index 728566b..57c230a 100644 --- a/src/components/dex/UserOrders/columns/index.tsx +++ b/src/components/dex/UserOrders/columns/index.tsx @@ -66,7 +66,7 @@ export function buildUserColumns({ key: 'quantity', header: <>Quantity ({firstCurrencyName}), width: '160px', - cell: (row) =>

{notationToString(row.amount)}

, + cell: (row) =>

{notationToString(row.left)}

, }, { key: 'total', @@ -345,7 +345,7 @@ export function buildOrderHistoryColumns({ key: 'quantity', header: <>Quantity ({firstCurrencyName}), width: '160px', - cell: (row) =>

{notationToString(row.amount)}

, + cell: (row) =>

{notationToString(row.left)}

, }, { key: 'total', diff --git a/src/components/dex/UserOrders/components/OrderGroupHeader/index.tsx b/src/components/dex/UserOrders/components/OrderGroupHeader/index.tsx index c6dca67..6ddd560 100644 --- a/src/components/dex/UserOrders/components/OrderGroupHeader/index.tsx +++ b/src/components/dex/UserOrders/components/OrderGroupHeader/index.tsx @@ -26,7 +26,7 @@ export default function OrderGroupHeader({

Quantity

- {notationToString(order.amount)} {firstCurrencyName} + {notationToString(order.left)} {firstCurrencyName}