Skip to content

Commit 5de08b8

Browse files
author
Luka Jeran
authored
Merge pull request #87 from oasisprotocol/lw/no-empty-tooltip
Don't show empty tooltips
2 parents 04edbaa + 689f896 commit 5de08b8

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)