add: fixes

This commit is contained in:
AzizbekFayziyev 2025-09-13 21:32:56 +05:00
parent 0f3b4a6325
commit 69f3d6b1e1
5 changed files with 9 additions and 9 deletions

View file

@ -25,7 +25,7 @@ export function buildOrderPoolColumns({
key: 'quantity',
header: <>Qty ({firstCurrencyName})</>,
width: '80px',
cell: (row) => <p>{notationToString(row.amount, 8)}</p>,
cell: (row) => <p>{notationToString(row.left, 8)}</p>,
},
{
key: 'total',

View file

@ -389,7 +389,7 @@ const OrdersPool = (props: OrdersPoolProps) => {
</span>
<h6>Amount ({firstCurrencyName})</h6>
<p>{notationToString(ordersInfoTooltip?.amount)}</p>
<p>{notationToString(ordersInfoTooltip?.left)}</p>
<h6>Total ({secondCurrencyName})</h6>
<p>{notationToString(totalDecimal.toString())}</p>

View file

@ -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 = ({
</div>
<div className={styles.header__actions}>
<button className={styles.header__actions_guide}>
{/* <button className={styles.header__actions_guide}>
<Image src={questionIcon} width={24} height={24} alt="guide" />
</button>
</button> */}
<BackButton className={styles.header__actions_backBtn} isSm />
</div>

View file

@ -66,7 +66,7 @@ export function buildUserColumns({
key: 'quantity',
header: <>Quantity ({firstCurrencyName})</>,
width: '160px',
cell: (row) => <p>{notationToString(row.amount)}</p>,
cell: (row) => <p>{notationToString(row.left)}</p>,
},
{
key: 'total',
@ -345,7 +345,7 @@ export function buildOrderHistoryColumns({
key: 'quantity',
header: <>Quantity ({firstCurrencyName})</>,
width: '160px',
cell: (row) => <p>{notationToString(row.amount)}</p>,
cell: (row) => <p>{notationToString(row.left)}</p>,
},
{
key: 'total',

View file

@ -26,7 +26,7 @@ export default function OrderGroupHeader({
<p className={styles.header__label}>Quantity</p>
<p className={styles.header__value}>
{notationToString(order.amount)} {firstCurrencyName}
{notationToString(order.left)} {firstCurrencyName}
</p>
</div>