Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Commit

Permalink
small remark improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
BeirlaenAaron committed Dec 9, 2022
1 parent be31e68 commit 0b89385
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/avatar/Avatar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ const Avatar = ({
className,
);

const enableTooltip = tooltip && ((typeof fullName === 'string' && fullName.length > 0) || tooltipProps);
const enableTooltip = tooltip && ((typeof fullName === 'string' && fullName.length > 0) || tooltipProps?.tooltip);

const Component = enableTooltip ? TooltippedBox : Box;
const defaultToolTipProps = enableTooltip
Expand Down

0 comments on commit 0b89385

Please sign in to comment.