mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-07 01:15:28 +00:00
fix(mobx): save stores on first load
This commit is contained in:
@@ -226,6 +226,9 @@ export default class State {
|
||||
store.hydrate(data, revision[id] ?? +new Date());
|
||||
}
|
||||
}
|
||||
|
||||
// Dump stores back to disk.
|
||||
await this.save();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user