[workbench] Improve asynchronous tool use (#30184)
GitOrigin-RevId: d1bd33469b557c29968049af99b9c3c85731151d
This commit is contained in:
+1
-1
@@ -31,7 +31,7 @@ export default function FileTreeCreateNewDoc() {
|
||||
})
|
||||
|
||||
if (doc) {
|
||||
openDoc(doc)
|
||||
return await openDoc(doc)
|
||||
}
|
||||
},
|
||||
[finishCreatingDoc, name, openDoc]
|
||||
|
||||
Reference in New Issue
Block a user