fix(mobx): save stores on first load

This commit is contained in:
Paul Makles 2022-01-02 15:43:13 +00:00
parent d92c50fdb8
commit 1b6275d1b5

View file

@ -226,6 +226,9 @@ export default class State {
store.hydrate(data, revision[id] ?? +new Date());
}
}
// Dump stores back to disk.
await this.save();
}
}