Skip to content

Commit 9f92144

Browse files
author
Amr Wagdy
committed
fix: prevent the lazyLoading property from being spread onto the img tag
1 parent 2b9350d commit 9f92144

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export const getFilteredProps = props => {
2-
const { config = {}, alt = '', className = '', src, sizes, width, height, ratio, params, ...otherProps } = props;
2+
const { config = {}, alt = '', className = '', src, sizes, width, height, ratio, params, lazyLoading,...otherProps } = props;
33

44
return {
55
alt,

0 commit comments

Comments
 (0)