forked from abner/for-legacy-web
fix(mobx): save stores on first load
parent
d92c50fdb8
commit
1b6275d1b5
|
|
@ -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 New Issue