mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-06 00:12:11 +00:00
fix(app): close delete workspace dialog immediately
This commit is contained in:
parent
b6beda1569
commit
e5fe50f7da
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue