diff --git a/src/assets/NFT-black.png b/src/assets/NFT-black.png index 9301749..ec55f8b 100644 Binary files a/src/assets/NFT-black.png and b/src/assets/NFT-black.png differ diff --git a/src/assets/NFT.jpg b/src/assets/NFT.jpg new file mode 100644 index 0000000..7713234 Binary files /dev/null and b/src/assets/NFT.jpg differ diff --git a/src/assets/NFT.png b/src/assets/NFT.png deleted file mode 100644 index 83721ea..0000000 Binary files a/src/assets/NFT.png and /dev/null differ diff --git a/src/assets/contract.png b/src/assets/contract.png index 79ae7b4..8a585f5 100644 Binary files a/src/assets/contract.png and b/src/assets/contract.png differ diff --git a/src/assets/fil.png b/src/assets/fil.png index 8716036..9324045 100644 Binary files a/src/assets/fil.png and b/src/assets/fil.png differ diff --git a/src/assets/pledge.png b/src/assets/pledge.png index 4ce55a6..ac5686a 100644 Binary files a/src/assets/pledge.png and b/src/assets/pledge.png differ diff --git a/src/assets/recommend.png b/src/assets/recommend.png index d07a0c6..b79ce44 100644 Binary files a/src/assets/recommend.png and b/src/assets/recommend.png differ diff --git a/src/components/ConnectWalletButton.tsx b/src/components/ConnectWalletButton.tsx index 1f26c6a..ead28f5 100644 --- a/src/components/ConnectWalletButton.tsx +++ b/src/components/ConnectWalletButton.tsx @@ -22,9 +22,9 @@ const ConnectWalletButton = (props: ConnectWalletButtonProps) => { const [visible, setVisible] = useState(false) const { copyVal } = useCopyLink() - const [contractCount,setContractCount] = useState(0) + const [contractCount, setContractCount] = useState(0) - const {t} = useTranslation() + const { t } = useTranslation() const connectWallet = async () => { setLoading(true); @@ -49,9 +49,9 @@ const ConnectWalletButton = (props: ConnectWalletButtonProps) => { setContractCount(_record.length) } - useEffect(()=>{ + useEffect(() => { walletAddress && visible && getData() - },[walletAddress,visible]) + }, [walletAddress, visible]) return (