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
@@ -94,7 +94,7 @@ export class HotbarStore extends BaseStore<HotbarStoreModel> {
}
@action
protected async fromStore(data: Partial<HotbarStoreModel> = {}) {
protected fromStore(data: Partial<HotbarStoreModel> = {}) {
if (!data.hotbars || !data.hotbars.length) {
this.hotbars = [{
id: uuid.v4(),