diff --git a/components/ConversionPanel.js b/components/ConversionPanel.js index c7d0722..64e8722 100644 --- a/components/ConversionPanel.js +++ b/components/ConversionPanel.js @@ -45,7 +45,6 @@ export default class ConversionPanel extends PureComponent { } componentDidMount () { - const {name} = this.props const code = this.props.url.query.code || this.props.defaultText this.setState({ value: code, @@ -53,11 +52,6 @@ export default class ConversionPanel extends PureComponent { }) } - shouldComponentUpdate(nextProps, nextState) { - console.log(nextProps, this.props, nextState) - return true - } - onChange = (newValue) => { try { const code = this.props.getTransformedValue(newValue) diff --git a/components/Layout.js b/components/Layout.js index 9123602..3b50ce5 100644 --- a/components/Layout.js +++ b/components/Layout.js @@ -153,7 +153,7 @@ export default function ({children, pathname}) {