fix #261
This commit is contained in:
parent
885967d8e3
commit
d0445a624d
1 changed files with 0 additions and 4 deletions
|
@ -88,10 +88,6 @@ class IDEView extends React.Component {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!nextProps.params.project_id && this.props.params.project_id) {
|
|
||||||
this.props.resetProject();
|
|
||||||
}
|
|
||||||
|
|
||||||
if (nextProps.preferences.theme !== this.props.preferences.theme) {
|
if (nextProps.preferences.theme !== this.props.preferences.theme) {
|
||||||
document.body.className = nextProps.preferences.theme;
|
document.body.className = nextProps.preferences.theme;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue