mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-03-30 05:43:55 +00:00
fix(app): close delete workspace dialog immediately
This commit is contained in:
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…
x
Reference in New Issue
Block a user