mirror of
https://github.com/ascribe/onion.git
synced 2025-02-14 21:10:27 +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);
|
let timerId = window.setInterval(() => EditionActions.fetchOne(this.props.params.editionId), 10000);
|
||||||
this.setState({timerId: timerId});
|
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() {
|
componentDidMount() {
|
||||||
|
Loading…
Reference in New Issue
Block a user