diff --git a/src/components/CodeEditor/CodeEditor.js b/src/components/CodeEditor/CodeEditor.js index de823543..2abb8ad4 100644 --- a/src/components/CodeEditor/CodeEditor.js +++ b/src/components/CodeEditor/CodeEditor.js @@ -270,7 +270,7 @@ class CodeEditor extends Component { _updateState(code, showJSX = true) { try { - let newState = { + const newState = { compiled: compileES5(code), error: null, };