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:
parent
35051bf67b
commit
62bdf97a2f
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user