Removed leftover console.log()s
This commit is contained in:
@@ -43,17 +43,12 @@ export default class Background extends Component {
|
|||||||
* @param {boolean} value Whether the image is landscape
|
* @param {boolean} value Whether the image is landscape
|
||||||
*/
|
*/
|
||||||
setLandscape(value) {
|
setLandscape(value) {
|
||||||
console.log(this.state.landscape, value)
|
|
||||||
|
|
||||||
if (value !== this.state.landscape) {
|
if (value !== this.state.landscape) {
|
||||||
console.log("CHANGED!!")
|
|
||||||
this.setState({landscape: value})
|
this.setState({landscape: value})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
console.log(this.state)
|
|
||||||
|
|
||||||
const src = this.props.src || "/assets/images/bg.png"
|
const src = this.props.src || "/assets/images/bg.png"
|
||||||
const opacity = this.props.opacity || 0.25
|
const opacity = this.props.opacity || 0.25
|
||||||
const className = "Background" + (this.state.landscape ? " landscape" : "")
|
const className = "Background" + (this.state.landscape ? " landscape" : "")
|
||||||
|
|||||||
@@ -28,8 +28,6 @@ export default ({filter}) => (
|
|||||||
return `Error! ${error.message}`
|
return `Error! ${error.message}`
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(filter);
|
|
||||||
|
|
||||||
return <StoryList {...data} />
|
return <StoryList {...data} />
|
||||||
}}
|
}}
|
||||||
</Query>
|
</Query>
|
||||||
|
|||||||
Reference in New Issue
Block a user