Skip to content

Commit 2524a25

Browse files
committed
feat: remove contentAttributes
1 parent 1b5efe3 commit 2524a25

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/avatar/internal.tsx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -104,13 +104,7 @@ export default function InternalAvatar({
104104
{...tooltipAttributes}
105105
style={{ [customCssProps.avatarSize]: `${computedSize}px`, ...getRootStyles(style) }}
106106
>
107-
{showTooltip && tooltipText && (
108-
<Tooltip
109-
className={styles.tooltip}
110-
value={tooltipText}
111-
trackRef={handleRef}}
112-
/>
113-
)}
107+
{showTooltip && tooltipText && <Tooltip className={styles.tooltip} value={tooltipText} trackRef={handleRef} />}
114108

115109
{/* aria-hidden is added so that screen readers focus only the parent div */}
116110
{/* when it is not hidden, it becomes unstable in JAWS */}

0 commit comments

Comments
 (0)