aboutsummaryrefslogtreecommitdiffstats
path: root/src/stores/RequestStore.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/stores/RequestStore.ts')
-rw-r--r--src/stores/RequestStore.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/stores/RequestStore.ts b/src/stores/RequestStore.ts
index e5df1292d..a964c5d12 100644
--- a/src/stores/RequestStore.ts
+++ b/src/stores/RequestStore.ts
@@ -1,5 +1,5 @@
1import { ipcRenderer } from 'electron'; 1import { ipcRenderer } from 'electron';
2import { action, computed, observable } from 'mobx'; 2import { action, computed, makeObservable, observable } from 'mobx';
3import ms from 'ms'; 3import ms from 'ms';
4 4
5import { Actions } from '../actions/lib/actions'; 5import { Actions } from '../actions/lib/actions';
@@ -28,6 +28,8 @@ export default class RequestStore extends TypedStore {
28 constructor(stores: Stores, api: ApiInterface, actions: Actions) { 28 constructor(stores: Stores, api: ApiInterface, actions: Actions) {
29 super(stores, api, actions); 29 super(stores, api, actions);
30 30
31 makeObservable(this);
32
31 this.actions.requests.retryRequiredRequests.listen( 33 this.actions.requests.retryRequiredRequests.listen(
32 this._retryRequiredRequests.bind(this), 34 this._retryRequiredRequests.bind(this),
33 ); 35 );