Fix mobile book amount tooltip

This commit is contained in:
Reckless_Satoshi 2022-09-17 08:34:45 -07:00
parent fb404165cb
commit dd38551ce0
No known key found for this signature in database
GPG Key ID: 9C4585B561315571

View File

@ -319,7 +319,11 @@ class BookPage extends Component {
width: 84, width: 84,
renderCell: (params) => { renderCell: (params) => {
return ( return (
<Tooltip placement='right' enterTouchDelay={0} title={t(params.row.type)}> <Tooltip
placement='right'
enterTouchDelay={0}
title={t(params.row.type ? 'Seller' : 'Buyer')}
>
<div style={{ cursor: 'pointer' }}> <div style={{ cursor: 'pointer' }}>
{amountToString( {amountToString(
params.row.amount, params.row.amount,