fix: drag workspace (#3513)

This commit is contained in:
Alex Yang
2023-08-01 16:29:17 -07:00
committed by GitHub
parent 1b17743ed3
commit 03b98b433b
3 changed files with 27 additions and 36 deletions
+1 -1
View File
@@ -127,7 +127,7 @@ await rootStore
const result = createFirst();
console.info('create first workspace', result);
localStorage.setItem('is-first-open', 'false');
rootStore.set(rootWorkspacesMetadataAtom, result).catch(console.error);
rootStore.set(rootWorkspacesMetadataAtom, result);
}
})
.catch(console.error);