Skip to content

Commit

Permalink
fix(avatar): remove extra disableAnimation prop in getImageProps (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
wingkwong authored Jun 16, 2024
1 parent 1e3e970 commit 6951b1f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/eleven-panthers-remain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@nextui-org/avatar": patch
---

Removed extra `disableAnimation` prop in `getImageProps` (#3257)
1 change: 0 additions & 1 deletion packages/components/avatar/src/use-avatar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,6 @@ export function useAvatar(originalProps: UseAvatarProps = {}) {
(props = {}) => ({
ref: imgRef,
src: src,
disableAnimation,
"data-loaded": dataAttr(isImgLoaded),
className: slots.img({class: classNames?.img}),
...mergeProps(
Expand Down

0 comments on commit 6951b1f

Please sign in to comment.