chore: update installFromGitHub component

This commit is contained in:
Yi
2024-11-05 17:52:47 +08:00
parent 8533ded335
commit bde1261b8c
8 changed files with 220 additions and 194 deletions

View File

@ -30,7 +30,7 @@ const Uploading: FC<Props> = ({
const handleUpload = async () => {
try {
const res = await uploadPackageFile(file)
// onUploaded(res)
onUploaded(res)
}
catch (e: any) {
if (e.response?.message) {