add: fixes
This commit is contained in:
parent
0f3b4a6325
commit
69f3d6b1e1
5 changed files with 9 additions and 9 deletions
|
|
@ -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',
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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',
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue