From 13a5cd18115df57c44dacd84da743dc714ac5209 Mon Sep 17 00:00:00 2001 From: guanbinrui Date: Mon, 21 Feb 2022 22:41:23 +0800 Subject: [PATCH 1/2] refactor: recover meson ipfs proxy --- packages/web3-shared/evm/pipes/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/web3-shared/evm/pipes/index.ts b/packages/web3-shared/evm/pipes/index.ts index 070d3a080d36..34a54a1a422b 100644 --- a/packages/web3-shared/evm/pipes/index.ts +++ b/packages/web3-shared/evm/pipes/index.ts @@ -172,7 +172,7 @@ export function resolveBlockLinkOnExplorer(chainId: ChainId, block: string): str } export function resolveIPFSLink(ipfs: string): string { - return urlcat('https://ipfs.fleek.co/ipfs/:ipfs', { ipfs }) + return urlcat('https://coldcdn.com/api/cdn/mipfsygtms/ipfs/:ipfs', { ipfs }) } export function resolveResourceLink(originLink: string): string { From 0850681c137d0fe259ad3355045903d22b0fb85c Mon Sep 17 00:00:00 2001 From: guanbinrui Date: Mon, 21 Feb 2022 22:46:24 +0800 Subject: [PATCH 2/2] fix: import path --- packages/mask/src/plugins/Collectible/SNSAdaptor/NFTPage.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/mask/src/plugins/Collectible/SNSAdaptor/NFTPage.tsx b/packages/mask/src/plugins/Collectible/SNSAdaptor/NFTPage.tsx index d7772572fd63..3a996b6fd863 100644 --- a/packages/mask/src/plugins/Collectible/SNSAdaptor/NFTPage.tsx +++ b/packages/mask/src/plugins/Collectible/SNSAdaptor/NFTPage.tsx @@ -1,9 +1,8 @@ -import { getMaskColor, makeStyles } from '@masknet/theme' +import { useState } from 'react' +import { getMaskColor, makeStyles, ShadowRootMenu } from '@masknet/theme' import { MenuItem } from '@mui/material' -import { ShadowRootMenu } from '../../../utils' import type { AddressName } from '@masknet/web3-shared-evm' import { CollectionList } from '../../../extension/options-page/DashboardComponents/CollectibleList' -import { useState } from 'react' import { first, uniqBy } from 'lodash-unified' import { formatEthereumAddress } from '@masknet/web3-shared-evm'