yikes prob w user text record

This commit is contained in:
lingdocs 2022-09-01 18:38:19 +04:00
parent 88b85955b7
commit 4127c4f1a4
1 changed files with 4 additions and 3 deletions

View File

@ -310,9 +310,10 @@ class App extends Component<RouteComponentProps, State> {
},
};
this.handleOptionsUpdate({ type: "updateTextOptionsRecord", payload: textOptionsRecord });
if (!serverOptionsAreNewer) {
updateUserTextOptionsRecord(userTextOptionsRecord).catch(console.error);
}
// TODO: THIS IS BROKEN! IT'S CALLING UNNECCESSARILY
// if (!serverOptionsAreNewer) {
// updateUserTextOptionsRecord(userTextOptionsRecord).catch(console.error);
// }
if (user) {
startLocalDbs(user, { wordlist: this.handleRefreshWordlist, reviewTasks: this.handleRefreshReviewTasks });
} else {