Skip to content

Commit

Permalink
fix(image): add missing w to getWrapperProps dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
wingkwong committed Sep 24, 2024
1 parent e10ea00 commit 261dc92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/components/image/src/use-image.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ export function useImage(originalProps: UseImageProps) {
maxWidth: w,
},
};
}, [slots, showFallback, fallbackSrc, classNames?.wrapper]);
}, [slots, showFallback, fallbackSrc, classNames?.wrapper, w]);

const getBlurredImgProps = useCallback<PropGetter>(() => {
return {
Expand Down

0 comments on commit 261dc92

Please sign in to comment.