diff --git a/packages/plugins/Web3Profile/src/SNSAdaptor/components/PlatformCard.tsx b/packages/plugins/Web3Profile/src/SNSAdaptor/components/PlatformCard.tsx
index 75e57784ef3..7c7511f740d 100644
--- a/packages/plugins/Web3Profile/src/SNSAdaptor/components/PlatformCard.tsx
+++ b/packages/plugins/Web3Profile/src/SNSAdaptor/components/PlatformCard.tsx
@@ -28,9 +28,6 @@ const useStyles = makeStyles()((theme) => {
':hover': {
cursor: 'pointer',
},
- '&:first-child:hover': {
- cursor: 'default',
- },
},
currentTag: {
width: '46px',
diff --git a/packages/plugins/Web3Profile/src/SNSAdaptor/components/WalletAssets.tsx b/packages/plugins/Web3Profile/src/SNSAdaptor/components/WalletAssets.tsx
index 3224347230a..a8866a7764d 100644
--- a/packages/plugins/Web3Profile/src/SNSAdaptor/components/WalletAssets.tsx
+++ b/packages/plugins/Web3Profile/src/SNSAdaptor/components/WalletAssets.tsx
@@ -37,9 +37,6 @@ const useStyles = makeStyles()((theme) => {
height: 126,
borderRadius: 12,
userSelect: 'none',
- '&:nth-last-child(-n+4)': {
- marginBottom: 0,
- },
},
link: {
cursor: 'pointer',
@@ -168,15 +165,10 @@ export function WalletAssetsCard(props: WalletAssetsCardProps) {
) : (
)}
diff --git a/packages/plugins/Web3Profile/src/SNSAdaptor/utils.ts b/packages/plugins/Web3Profile/src/SNSAdaptor/utils.ts
index b17b52b23d9..96d028f3eab 100644
--- a/packages/plugins/Web3Profile/src/SNSAdaptor/utils.ts
+++ b/packages/plugins/Web3Profile/src/SNSAdaptor/utils.ts
@@ -141,14 +141,14 @@ export const getUnlistedConfig = async (publicKey: string): Promise(publicKey)
- if (!res.ok) return
+ if (!res.proofs) return
const wallets: UnlistedConfig['wallets'] = {}
const collections: UnlistedConfig['collections'] = {}
- res.val.proofs
- ?.filter((x) => x.platform === NextIDPlatform.Twitter)
- ?.forEach((y) => {
+ res.proofs
+ .filter((x) => x.platform === NextIDPlatform.Twitter)
+ .forEach((y) => {
wallets[y.identity] = y.content?.[PLUGIN_ID]?.hiddenAddresses!
collections[y.identity] = y.content?.[PLUGIN_ID]?.unListedCollections!
})
diff --git a/packages/plugins/Web3Profile/src/locales/en-US.json b/packages/plugins/Web3Profile/src/locales/en-US.json
index 443358c72f0..d59e50c3bec 100644
--- a/packages/plugins/Web3Profile/src/locales/en-US.json
+++ b/packages/plugins/Web3Profile/src/locales/en-US.json
@@ -48,8 +48,8 @@
"wallets_add_collectible": "Add Collectible",
"add_collectible": "Add collectible",
"nft_add_dialog_title": "Add Collectible",
- "no_collection_item": "No {{collection}} found.",
- "all_collection_hidden": "All {{collection}} unlisted.",
+ "no_collection$empty": "No {{collection}} found.",
+ "no_collection$hidden": "All {{collection}} unlisted.",
"no_unlisted_collection": "Click items in listed area to hidden your {{collection}} on Web3 Profile.",
"no_listed_collection": "Click items in Unlisted area to show your {{collection}} on Web3 Profile.",
"wallet_setting_hint": "Toggle the button to manage wallet display settings.",
diff --git a/packages/web3-providers/src/NextID/kv.ts b/packages/web3-providers/src/NextID/kv.ts
index b7771f315cf..cf15b039381 100644
--- a/packages/web3-providers/src/NextID/kv.ts
+++ b/packages/web3-providers/src/NextID/kv.ts
@@ -77,8 +77,8 @@ export class NextIDStorageAPI implements NextIDBaseAPI.Storage {
const result = compact(response.values.map((x) => x.content[pluginID]))
return Ok(result)
}
- async get(personaPublicKey: string): Promise> {
- return fetchJSON(urlcat(BASE_URL, '/v1/kv', { persona: personaPublicKey }))
+ async get(personaPublicKey: string): Promise {
+ return fetchJSON(urlcat(BASE_URL, '/v1/kv', { persona: personaPublicKey }))
}
/**
* Get signature payload for updating