chore(trading): move cumulative vol testid in orderbook (#4420)
This commit is contained in:
parent
b2c2d0d7d6
commit
e64c464091
@ -59,6 +59,7 @@ const CumulativeVol = memo(
|
|||||||
}) => {
|
}) => {
|
||||||
const volume = cumulativeValue ? (
|
const volume = cumulativeValue ? (
|
||||||
<NumericCell
|
<NumericCell
|
||||||
|
testId={testId}
|
||||||
value={cumulativeValue}
|
value={cumulativeValue}
|
||||||
valueFormatted={addDecimalsFixedFormatNumber(
|
valueFormatted={addDecimalsFixedFormatNumber(
|
||||||
cumulativeValue,
|
cumulativeValue,
|
||||||
@ -69,7 +70,6 @@ const CumulativeVol = memo(
|
|||||||
|
|
||||||
return onClick && volume ? (
|
return onClick && volume ? (
|
||||||
<button
|
<button
|
||||||
data-testid={testId}
|
|
||||||
onClick={() => onClick(cumulativeValue)}
|
onClick={() => onClick(cumulativeValue)}
|
||||||
className="hover:dark:bg-neutral-800 hover:bg-neutral-200 text-right pr-1"
|
className="hover:dark:bg-neutral-800 hover:bg-neutral-200 text-right pr-1"
|
||||||
>
|
>
|
||||||
|
Loading…
Reference in New Issue
Block a user