mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 17:36:08 +08:00
remove unused vars
This commit is contained in:
1 parent
7dd2d82eb8
commit
e3aa315e09
1 file changed
+1
-1
@@ -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()) {
|
||||
|
||||
Reference in new issue
Block a user