some cleanup

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton committed 2021-08-24 10:09:50 -04:00
1 parent 2d75fd6717
commit fe1105b60b
15 files changed
+15 -21

No files matched your search

+1 -1
View File
@@ -65,7 +65,7 @@ export function createAppStorage<T>(key: string, defaultValue: T, clusterId?: st
// bind auto-saving data changes to %storage-file.json
reaction(
() => toJS(storage.data),
async (state: Record<string, any> = {}) => {
async state => {
logger.info(`${logPrefix} saving ${filePath}`);
try {