fix(app): close delete workspace dialog immediately

This commit is contained in:
Adam
2026-01-23 05:41:51 -06:00
parent b6beda1569
commit e5fe50f7da

View File

@@ -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 = () => {