Skip to content

Commit e81d59d

Browse files
committed
Update tooltips in not used code yet
1 parent bc6bb21 commit e81d59d

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/app/components/Transactions/TransactionDetailsElements.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
import { FC, PropsWithChildren } from 'react'
22
import { useTranslation } from 'react-i18next'
3-
import Tooltip from '@mui/material/Tooltip'
3+
import { Tooltip } from '@oasisprotocol/ui-library/src/components/tooltip'
44
import Typography from '@mui/material/Typography'
55
import { SearchScope } from '../../../types/searchScope'
66
import { COLORS } from '../../../styles/theme/colors'
7-
import { tooltipDelay } from '../../../styles/theme'
87
import { RoundedBalance } from '../../components/RoundedBalance'
98
import { trimLongString } from '../../utils/trimLongString'
109
import { useScreenSize } from '../../hooks/useScreensize'
@@ -102,7 +101,7 @@ export const LabelValue: FC<LabelValueProps> = ({ label, trimMobile, value }) =>
102101
<div className="inline-flex">
103102
<Label>{label || t('common.amount')}</Label>
104103
{trimEnabled ? (
105-
<Tooltip arrow placement="top" title={value} enterDelay={tooltipDelay} enterNextDelay={tooltipDelay}>
104+
<Tooltip title={value}>
106105
<span>{trimLongString(value, 2, 18)}</span>
107106
</Tooltip>
108107
) : (

0 commit comments

Comments
 (0)