1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-23 01:39:36 +01:00

cleanup of SPOOL old code

This commit is contained in:
diminator 2015-07-21 21:13:46 +02:00
parent 35051bf67b
commit 62bdf97a2f

View File

@ -27,11 +27,6 @@ let EditionContainer = React.createClass({
let timerId = window.setInterval(() => EditionActions.fetchOne(this.props.params.editionId), 10000);
this.setState({timerId: timerId});
}
let thumbnail = state.edition.thumbnail;
if (state.edition.digital_work.mime === 'image' && typeof isEncoding === 'number' && isEncoding !== 100 && !this.state.timerId) {
let timerId = window.setInterval(() => EditionActions.fetchOne(this.props.params.editionId), 10000);
this.setState({timerId: timerId});
}
},
componentDidMount() {