feat: can install github

This commit is contained in:
Joel
2024-11-15 13:09:19 +08:00
parent bba80f465b
commit 6b759795d5
4 changed files with 22 additions and 18 deletions

View File

@ -97,7 +97,7 @@ export const useUploadGitHub = (payload: {
export const useInstallFromMarketplaceAndGitHub = ({
onSuccess,
}: {
onSuccess?: () => void
onSuccess?: (res: { success: boolean }[]) => void
}) => {
return useMutation({
mutationFn: (payload: Dependency[]) => {