Skip to content

Commit

Permalink
Do not pass className to the avatar image
Browse files Browse the repository at this point in the history
  • Loading branch information
Germain committed Aug 9, 2023
1 parent 9e466a3 commit 6f11e94
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 @@ -67,7 +67,7 @@ export const Avatar = forwardRef<HTMLSpanElement, AvatarProps>(function Avatar(
<Suspense fallback={fallbackInitial}>
<SuspenseImg
src={src}
className={classnames(styles.image, className)}
className={classnames(styles.image)}
data-type={type}
style={style}
width={size}
Expand Down

0 comments on commit 6f11e94

Please sign in to comment.