chore: fix type annotations (#6600)

This commit is contained in:
非法操作
2024-07-25 11:21:51 +08:00
committed by GitHub
parent 9815aab7a3
commit 585444c50c
12 changed files with 27 additions and 21 deletions

View File

@@ -85,7 +85,7 @@ const ProviderDetail = ({
const [customCollection, setCustomCollection] = useState<CustomCollectionBackend | WorkflowToolProviderResponse | null>(null)
const [isShowEditCollectionToolModal, setIsShowEditCustomCollectionModal] = useState(false)
const [showConfirmDelete, setShowConfirmDelete] = useState(false)
const [deleteAction, setDeleteAction] = useState(null)
const [deleteAction, setDeleteAction] = useState('')
const doUpdateCustomToolCollection = async (data: CustomCollectionBackend) => {
await updateCustomCollection(data)
onRefreshData()