cleanup
This commit is contained in:
parent
4347510403
commit
2fc25a18df
|
@ -349,7 +349,6 @@ class App extends Component<RouteComponentProps, State> {
|
||||||
dictionary.update(() => {
|
dictionary.update(() => {
|
||||||
// this.setState({ dictionaryStatus: "updating" });
|
// this.setState({ dictionaryStatus: "updating" });
|
||||||
}).then(({ dictionaryInfo }) => {
|
}).then(({ dictionaryInfo }) => {
|
||||||
console.log({ dictionaryInfo, old: this.state.dictionaryInfo })
|
|
||||||
//if (this.state.dictionaryInfo?.release !== dictionaryInfo?.release) {
|
//if (this.state.dictionaryInfo?.release !== dictionaryInfo?.release) {
|
||||||
// to avoid unnecessary re-rendering that breaks things
|
// to avoid unnecessary re-rendering that breaks things
|
||||||
this.setState({
|
this.setState({
|
||||||
|
|
Loading…
Reference in New Issue