fix(app): close delete workspace dialog immediately
parent
b6beda1569
commit
e5fe50f7da
|
|
@ -1260,9 +1260,9 @@ export default function Layout(props: ParentProps) {
|
|||
})
|
||||
})
|
||||
|
||||
const handleDelete = async () => {
|
||||
await deleteWorkspace(props.directory)
|
||||
const handleDelete = () => {
|
||||
dialog.close()
|
||||
void deleteWorkspace(props.directory)
|
||||
}
|
||||
|
||||
const description = () => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue