Skip to content

Commit f4325d0

Browse files
Pewwwlex111
authored andcommitted
Change variable declaration of ‘newState’ in CodeEditor.js (#2241)
1 parent a284b96 commit f4325d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/CodeEditor/CodeEditor.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ class CodeEditor extends Component {
270270

271271
_updateState(code, showJSX = true) {
272272
try {
273-
let newState = {
273+
const newState = {
274274
compiled: compileES5(code),
275275
error: null,
276276
};

0 commit comments

Comments
 (0)