fix: data not updated (#6161)

This commit is contained in:
crazywoola 2024-07-11 11:09:14 +08:00 committed by GitHub
parent 27d72e30ad
commit c606295ea6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -117,7 +117,7 @@ const ProviderDetail = ({
provider: collection.name,
})
setIsDetailLoading(false)
}, [collection.name])
}, [collection.labels, collection.name])
// workflow provider
const [isShowEditWorkflowToolModal, setIsShowEditWorkflowToolModal] = useState(false)
const getWorkflowToolProvider = useCallback(async () => {