Fix RandomImage

main
Mike Fix 7 years ago
parent c7e39c5e36
commit ba1d550cd3

@ -78,6 +78,8 @@ export default class extends React.Component {
render() { render() {
const bgImage = this.cache[this.state.cacheIndex] && this.cache[this.state.cacheIndex].dataURL const bgImage = this.cache[this.state.cacheIndex] && this.cache[this.state.cacheIndex].dataURL
if (!bgImage) return null
return ( return (
<div className="random-image-container"> <div className="random-image-container">
<div className="controls"> <div className="controls">

Loading…
Cancel
Save