From f4325d05a64eca9d4b0bd519466cbeb70124051e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=A0=95=EC=9C=A4=EC=9E=AC=28JungYunJae=29?= Date: Wed, 14 Aug 2019 16:04:33 +0900 Subject: [PATCH] =?UTF-8?q?Change=20variable=20declaration=20of=20?= =?UTF-8?q?=E2=80=98newState=E2=80=99=20in=20CodeEditor.js=20(#2241)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/CodeEditor/CodeEditor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, };