chore: update the upgrade button and add premium badge component

This commit is contained in:
Yi
2024-11-11 17:21:25 +08:00
parent c6a6c53084
commit 810443c511
23 changed files with 381 additions and 14 deletions

View File

@ -48,7 +48,6 @@ const SelectPackage: React.FC<SelectPackageProps> = ({
const handleUploadPackage = async () => {
if (isUploading) return
setIsUploading(true)
try {
const repo = repoUrl.replace('https://github.com/', '')
await handleUpload(repo, selectedVersion, selectedPackage, (GitHubPackage) => {