Emit an error on async fromStore (#3285)

This commit is contained in:
Sebastian Malton authored and GitHub committed 2021-07-06 11:05:07 -04:00
1 parent 803c3a3d34
commit 0f9f79a8c9
4 files changed
+15 -5

No files matched your search

+1 -1
View File
@@ -155,7 +155,7 @@ export class UserStore extends BaseStore<UserStoreModel> /* implements UserStore
}
@action
protected async fromStore(data: Partial<UserStoreModel> = {}) {
protected fromStore(data: Partial<UserStoreModel> = {}) {
const { lastSeenAppVersion, preferences } = data;
if (lastSeenAppVersion) {