fix(trading): missing styles for tooltip in positions table (#4780)
This commit is contained in:
parent
b29c268257
commit
d7e2da7a54
@ -368,7 +368,7 @@ export const PositionsTable = ({
|
||||
DocsLinks?.LOSS_SOCIALIZATION ?? '';
|
||||
|
||||
if (!args.data) {
|
||||
return <>-</>;
|
||||
return null;
|
||||
}
|
||||
|
||||
const losses = parseInt(
|
||||
@ -377,7 +377,9 @@ export const PositionsTable = ({
|
||||
|
||||
if (losses <= 0) {
|
||||
// eslint-disable-next-line react/jsx-no-useless-fragment
|
||||
return <>{args.valueFormatted}</>;
|
||||
return (
|
||||
<TooltipCellComponent {...args} value={args.valueFormatted} />
|
||||
);
|
||||
}
|
||||
|
||||
const lossesFormatted = addDecimalsFormatNumber(
|
||||
|
Loading…
Reference in New Issue
Block a user