Skip to content

Commit 8a0504a

Browse files
authored
Update Recipes.md
1 parent 8570eb6 commit 8a0504a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/Recipes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ import useNativeLazyLoading from '@charlietango/use-native-lazy-loading'
4141
import { useInView } from 'react-intersection-observer'
4242

4343
const LazyImage = ({ width, height, src, ...rest }) => {
44-
const supportsNativeLoading = useNativeLazyLoading()
44+
const supportsLazyLoading = useNativeLazyLoading()
4545
const [ref, inView] = useInView({
4646
triggerOnce: true,
4747
margin: '200px 0px',

0 commit comments

Comments
 (0)