fix(app): close delete workspace dialog immediately
This commit is contained in:
@@ -1260,9 +1260,9 @@ export default function Layout(props: ParentProps) {
|
|||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
const handleDelete = async () => {
|
const handleDelete = () => {
|
||||||
await deleteWorkspace(props.directory)
|
|
||||||
dialog.close()
|
dialog.close()
|
||||||
|
void deleteWorkspace(props.directory)
|
||||||
}
|
}
|
||||||
|
|
||||||
const description = () => {
|
const description = () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user