Skip to content

Commit 7375b87

Browse files
committed
chore: tweak tooltips
1 parent 54539aa commit 7375b87

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

web/src/components/UserStatisticsView.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,13 +122,15 @@ const UserStatisticsView = (props: Props) => {
122122
</div>
123123
{memoStats.incompleteTasks > 0 && (
124124
<>
125-
<Tooltip title={"Incomplete tasks"} placement="top" arrow>
125+
<Tooltip title={"Done"} placement="top" arrow>
126126
<span className="text-sm truncate">{memoStats.taskList - memoStats.incompleteTasks}</span>
127127
</Tooltip>
128128
<span className="text-sm font-mono opacity-50">/</span>
129129
</>
130130
)}
131-
<span className="text-sm truncate">{memoStats.taskList}</span>
131+
<Tooltip title={"Total"} placement="top" arrow>
132+
<span className="text-sm truncate">{memoStats.taskList}</span>
133+
</Tooltip>
132134
</div>
133135
<div
134136
className={clsx(

0 commit comments

Comments
 (0)