mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-26 19:48:39 +00:00
Auto-fix lint errors
This commit is contained in:
@@ -77,10 +77,10 @@ export class EchoStore extends AsyncStoreWithClient<IState> {
|
||||
|
||||
if (hasOrHadError && !this.state.toastRef) {
|
||||
const ref = NonUrgentToastStore.instance.addToast(NonUrgentEchoFailureToast);
|
||||
await this.updateState({toastRef: ref});
|
||||
await this.updateState({ toastRef: ref });
|
||||
} else if (!hasOrHadError && this.state.toastRef) {
|
||||
NonUrgentToastStore.instance.removeToast(this.state.toastRef);
|
||||
await this.updateState({toastRef: null});
|
||||
await this.updateState({ toastRef: null });
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -53,7 +53,7 @@ export abstract class GenericEchoChamber<C extends EchoContext, K, V> extends Ev
|
||||
}
|
||||
|
||||
private cacheVal(key: K, val: V, txn: EchoTransaction) {
|
||||
this.cache.set(key, {txn, val});
|
||||
this.cache.set(key, { txn, val });
|
||||
this.emit(PROPERTY_UPDATED, key);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user