forked from tanner/qotnews
Remove pre-fetching image
This commit is contained in:
parent
f1c846acd0
commit
72d4a68929
|
@ -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);
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user