From 72d4a68929d6f5c7dbf226251de2d6007aa8061f Mon Sep 17 00:00:00 2001 From: Tanner Collin Date: Sat, 4 Jul 2020 00:29:04 +0000 Subject: [PATCH] Remove pre-fetching image --- webclient/src/Feed.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/webclient/src/Feed.js b/webclient/src/Feed.js index 74d3b09..7cd6936 100644 --- a/webclient/src/Feed.js +++ b/webclient/src/Feed.js @@ -36,12 +36,6 @@ class Feed extends React.Component { this.props.updateCache(x.id, result.story); }, error => {} ); - - if (i < 20 && x.img) { - const img = new Image(); - img.src = x.img; - console.log('prefetched image', x.img); - } }); } },