浏览代码

chore(my-lp): 小幅调整

Co-authored-by: Cursor <cursoragent@cursor.com>
lushdog@outlook.com 1 月之前
父节点
当前提交
e77bf5edb2
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/app/my-lp/page.tsx

+ 1 - 1
src/app/my-lp/page.tsx

@@ -1037,7 +1037,7 @@ function MyLPPageContent() {
 							}}
 						/>
 						<p className="text-lg font-bold truncate max-w-xs sm:max-w-md">
-							你的地址: {userAddress}
+							你的地址: {userAddress.slice(0, 4)}...{userAddress.slice(-4)}
 						</p>
 						<Button type="primary" onClick={handleAddressChange}>
 							更换地址