chore(trading): move cumulative vol testid in orderbook (#4420)

This commit is contained in:
Radosław Szpiech 2023-07-28 11:15:40 +02:00 committed by GitHub
parent b2c2d0d7d6
commit e64c464091
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"
> >