diff --git a/src/components/user-profile/UserInfoCard.tsx b/src/components/user-profile/UserInfoCard.tsx index f98d51a..c46f1bd 100644 --- a/src/components/user-profile/UserInfoCard.tsx +++ b/src/components/user-profile/UserInfoCard.tsx @@ -89,46 +89,53 @@ export default function UserInfoCard({ data }: { data: UserMetaCardProps }) { {data.data?.email || "Email address"}
+ {data.data?.profile?.phone && ( ++ Phone +
++ {data.data?.profile?.phone || "+XXX XXX XXX"} +
+- Phone -
-- {data.data?.profile?.phone || "+XXX XXX XXX"} -
-+ Bio +
++ {data.data?.profile?.bio || "No bio available"} +
+- Bio -
-- {data.data?.profile?.bio || "No bio available"} -
-- Address -
-- {data.data?.profile?.location || "No location available"} -
-- Website -
- - {data.data?.profile?.website || "No website"} - -+ Address +
++ {data.data?.profile?.location || "No location available"} +
++ Website +
+ + {data.data?.profile?.website || "No website"} + +- {data.data?.profile?.bio || "No bio available"} -
- -- {data.data?.profile?.location || "user location"} -
+ {data.data?.profile?.bio && ( + <> + ++ {data.data?.profile?.bio || "No bio available"} +
+ > + )} + {data.data?.profile?.location && ( + <> + ++ {data.data?.profile?.location || "user location"} +
+ > + )}