mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +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) {
|
async componentDidUpdate(prevProps) {
|
||||||
const {
|
const {
|
||||||
value, language, theme, mainSize, recordSize, pretestSize,
|
value, language, mainSize, recordSize, pretestSize,
|
||||||
} = this.props;
|
} = this.props;
|
||||||
const { editor, model } = this;
|
const { editor, model } = this;
|
||||||
if (this.props.value != null && this.props.value !== model.getValue()) {
|
if (this.props.value != null && this.props.value !== model.getValue()) {
|
||||||
|
|||||||
Reference in new issue
Block a user