Browse Source

Removed leftover console.log()s

1.0
Gisle Aune 6 years ago
parent
commit
54136be912
  1. 5
      rpdata-ui/src/common/Background.js
  2. 2
      rpdata-ui/src/routes/story/StoryList.js

5
rpdata-ui/src/common/Background.js

@ -43,17 +43,12 @@ export default class Background extends Component {
* @param {boolean} value Whether the image is landscape
*/
setLandscape(value) {
console.log(this.state.landscape, value)
if (value !== this.state.landscape) {
console.log("CHANGED!!")
this.setState({landscape: value})
}
}
render() {
console.log(this.state)
const src = this.props.src || "/assets/images/bg.png"
const opacity = this.props.opacity || 0.25
const className = "Background" + (this.state.landscape ? " landscape" : "")

2
rpdata-ui/src/routes/story/StoryList.js

@ -28,8 +28,6 @@ export default ({filter}) => (
return `Error! ${error.message}`
}
console.log(filter);
return <StoryList {...data} />
}}
</Query>
Loading…
Cancel
Save