aboutsummaryrefslogtreecommitdiffstats
path: root/src/features/todos/store.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/features/todos/store.js')
-rw-r--r--src/features/todos/store.js8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/features/todos/store.js b/src/features/todos/store.js
index 1a3d6c1e7..0f195f10d 100644
--- a/src/features/todos/store.js
+++ b/src/features/todos/store.js
@@ -1,4 +1,4 @@
1import { computed, action, observable } from 'mobx'; 1import { computed, action, observable, makeObservable } from 'mobx';
2import localStorage from 'mobx-localstorage'; 2import localStorage from 'mobx-localstorage';
3 3
4import { ThemeType } from '../../themes'; 4import { ThemeType } from '../../themes';
@@ -33,6 +33,12 @@ export default class TodoStore extends FeatureStore {
33 33
34 isInitialized = false; 34 isInitialized = false;
35 35
36 constructor() {
37 super();
38
39 makeObservable(this);
40 }
41
36 @computed get width() { 42 @computed get width() {
37 const width = this.settings.width || DEFAULT_TODOS_WIDTH; 43 const width = this.settings.width || DEFAULT_TODOS_WIDTH;
38 44