diff --git a/packages/ui-default/components/scratchpad/ScratchpadEditorContainer.jsx b/packages/ui-default/components/scratchpad/ScratchpadEditorContainer.jsx index 475d1a7a0..6aa169964 100644 --- a/packages/ui-default/components/scratchpad/ScratchpadEditorContainer.jsx +++ b/packages/ui-default/components/scratchpad/ScratchpadEditorContainer.jsx @@ -50,7 +50,7 @@ export default connect(mapStateToProps, mapDispatchToProps)(class MonacoEditor e async componentDidUpdate(prevProps) { const { - value, language, theme, mainSize, recordSize, pretestSize, + value, language, mainSize, recordSize, pretestSize, } = this.props; const { editor, model } = this; if (this.props.value != null && this.props.value !== model.getValue()) {