chore: add version type in marketplace return

This commit is contained in:
Joel
2024-11-21 17:43:41 +08:00
parent 8993a91f12
commit c59c696df2
3 changed files with 2 additions and 2 deletions

View File

@ -77,7 +77,6 @@ const PluginPage = ({
if (packageId) {
const { data } = await fetchManifestFromMarketPlace(encodeURIComponent(packageId))
const { plugin } = data
// TODO: wait api return current plugin version
setManifest({
...plugin,
icon: `${marketplaceApiPrefix}/plugins/${plugin.org}/${plugin.name}/icon`,