mirror of
https://github.com/misode/misode.github.io.git
synced 2026-04-23 15:17:09 +00:00
Fix root hashing due to missing root dirs
This commit is contained in:
@@ -33,9 +33,10 @@ export function ProjectCreation() {
|
||||
}
|
||||
}
|
||||
|
||||
const onCreate = useCallback(() => {
|
||||
const onCreate = useCallback(async () => {
|
||||
setCreating(true)
|
||||
const rootUri = `${PROJECTS_URI}${hexId()}/`
|
||||
await client.fs.mkdir(rootUri)
|
||||
createProject({ name, namespace, version, storage: { type: 'indexeddb', rootUri } })
|
||||
changeProject(name)
|
||||
if (file) {
|
||||
|
||||
Reference in New Issue
Block a user