From e3aa315e094c75c42c137f92512a0caa75fc740c Mon Sep 17 00:00:00 2001 From: undefined Date: Sat, 15 Jan 2022 16:00:04 +0800 Subject: [PATCH] remove unused vars --- .../components/scratchpad/ScratchpadEditorContainer.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()) {