Remove pre-fetching image

This commit is contained in:
Tanner Collin 2020-07-04 00:29:04 +00:00
parent f1c846acd0
commit 72d4a68929

View File

@ -36,12 +36,6 @@ class Feed extends React.Component {
this.props.updateCache(x.id, result.story); this.props.updateCache(x.id, result.story);
}, error => {} }, error => {}
); );
if (i < 20 && x.img) {
const img = new Image();
img.src = x.img;
console.log('prefetched image', x.img);
}
}); });
} }
}, },