diff --git a/components/UI/profileCard/profileCard.tsx b/components/UI/profileCard/profileCard.tsx index ba5018ca..64e8579c 100644 --- a/components/UI/profileCard/profileCard.tsx +++ b/components/UI/profileCard/profileCard.tsx @@ -14,7 +14,7 @@ import xpIcon from "public/icons/xpBadge.svg"; import useCreationDate from "@hooks/useCreationDate"; import shareSrc from "public/icons/share.svg"; import theme from "@styles/theme"; -import EyeIcon from "../iconsComponents/icons/eyeIcon"; +import {EyeIcon,EyeIconSlashed } from "../iconsComponents/icons/eyeIcon"; import ProfilIcon from "../iconsComponents/icons/profilIcon"; import Link from "next/link"; import SocialMediaActions from "../actions/socialmediaActions"; @@ -133,21 +133,18 @@ const ProfileCard: FunctionComponent = ({ > {identity.domain?.domain || "Unknown Domain"} -
-
- - {totalBalance !== null ? ( - `$${totalBalance.toFixed(2)}` - ) : ( - - )} - - -
-
+
+
+ + {totalBalance !== null ? (hidePortfolio ? "******" : `$${totalBalance.toFixed(2)}`) : ( + + )} + +
setHidePortfolio(!hidePortfolio)} className={styles.pointer}> + {hidePortfolio ? : } +
+
+
{tweetShareLink && (