Skip to content

Commit 7bb2810

Browse files
v.trushinvauweb
authored andcommitted
change tooltip names SH-201
1 parent b4a4bf6 commit 7bb2810

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

statshouse-ui/src/components/SelectMertic/SelectMetricRow.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,10 @@ export const SelectMetricRow = memo(function _SelectMetricRow<T extends SelectOp
4949
<Tooltip className="flex-grow-1 text-truncate" title={rows[index]?.value ?? `row ${index}`}>
5050
{rows[index]?.value ?? `row ${index}`}
5151
</Tooltip>
52-
<Tooltip className="me-2" title={metricsFavorite[rows[index]?.value] ? 'remove favorite' : 'add favorite'}>
52+
<Tooltip
53+
className="me-2"
54+
title={metricsFavorite[rows[index]?.value] ? 'remove from favorites' : 'add to favorites'}
55+
>
5356
<span className="text-primary" onClick={toggleFavorite}>
5457
{metricsFavorite[rows[index]?.value] ? <SVGStarFill /> : <SVGStar />}
5558
</span>

0 commit comments

Comments
 (0)