removed unused code

This commit is contained in:
Akinwale Ariwodola 2017-07-06 18:42:39 +01:00
parent ee002597fc
commit f61a8a4372

View file

@ -137,13 +137,11 @@ class VideoPlayer extends React.PureComponent {
file() {
const { downloadPath, filename } = this.props;
const stat = fs.statSync(downloadPath);
return {
name: filename,
createReadStream: opts => {
return fs.createReadStream(downloadPath, opts);
},
length: stat.size,
};
}
*playableType() {