mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-10 01:03:36 -05:00
fix(mobx): save stores on first load
This commit is contained in:
parent
d92c50fdb8
commit
1b6275d1b5
1 changed files with 3 additions and 0 deletions
|
@ -226,6 +226,9 @@ export default class State {
|
|||
store.hydrate(data, revision[id] ?? +new Date());
|
||||
}
|
||||
}
|
||||
|
||||
// Dump stores back to disk.
|
||||
await this.save();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue