Commit b28aec8
authored
SettingsState: put lang change into runInAction() (#380)
This prevents a warning from MobX since state cannot be modified out of an action.
Not sure why this happens since setLanguage is already set as action: I guess it has
something to do with the fact that it's an async function.1 parent 15c8b65 commit b28aec8
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
| 98 | + | |
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| |||
0 commit comments