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() {
|
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() {
|
render() {
|
||||||
|
|
|
@ -49,7 +49,7 @@ class PreviewFrame extends React.Component {
|
||||||
renderFrameContents() {
|
renderFrameContents() {
|
||||||
const doc = ReactDOM.findDOMNode(this).contentDocument;
|
const doc = ReactDOM.findDOMNode(this).contentDocument;
|
||||||
if (doc.readyState === 'complete') {
|
if (doc.readyState === 'complete') {
|
||||||
renderSketch();
|
this.renderSketch();
|
||||||
} else {
|
} else {
|
||||||
setTimeout(this.renderFrameContents, 0);
|
setTimeout(this.renderFrameContents, 0);
|
||||||
}
|
}
|
||||||
|
|
|
@ -33,7 +33,8 @@ function Toolbar(props) {
|
||||||
<div className="toolbar__project-name-container">
|
<div className="toolbar__project-name-container">
|
||||||
<span
|
<span
|
||||||
className="toolbar__project-name"
|
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
|
contentEditable
|
||||||
suppressContentEditableWarning
|
suppressContentEditableWarning
|
||||||
>
|
>
|
||||||
|
|
Loading…
Reference in a new issue