We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00bfd85 commit c8c6246Copy full SHA for c8c6246
src/components/LazyLoadImage.jsx
@@ -122,10 +122,9 @@ class LazyLoadImage extends React.Component {
122
123
render() {
124
const { effect, placeholderSrc, visibleByDefault } = this.props;
125
- const { loaded } = this.state;
126
127
const image = this.getImg();
128
- const lazyLoadImage = loaded ? image : this.getLazyLoadImage(image);
+ const lazyLoadImage = this.getLazyLoadImage(image);
129
130
if ((!effect && !placeholderSrc) || visibleByDefault) {
131
return lazyLoadImage;
0 commit comments