Skip to content

Commit 689f896

Browse files
committed
Don't show empty tooltips
1 parent 04edbaa commit 689f896

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/tooltip/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export const Tooltip = ({
3535
side,
3636
sideOffset,
3737
align,
38-
disabled = false,
38+
disabled = !title,
3939
...props
4040
}: TooltipProps) => {
4141
if (disabled) {

0 commit comments

Comments
 (0)