fix(avatar): remove extra disableAnimation prop in getImageProps (#3260)

This commit is contained in:
աӄա 2024-06-17 01:20:13 +08:00 committed by GitHub
parent 1e3e970fb7
commit 6951b1fba0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 1 deletions

View File

@ -0,0 +1,5 @@
---
"@nextui-org/avatar": patch
---
Removed extra `disableAnimation` prop in `getImageProps` (#3257)

View File

@ -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(