From db05967c0538c4dc17df066d91ae61b3107fa657 Mon Sep 17 00:00:00 2001 From: jakubmanczak Date: Thu, 29 Dec 2022 17:32:44 +0100 Subject: [PATCH] el map keys ;p --- components/ProfileCard/ProfileCard.tsx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/components/ProfileCard/ProfileCard.tsx b/components/ProfileCard/ProfileCard.tsx index 626886e..e32f3ea 100644 --- a/components/ProfileCard/ProfileCard.tsx +++ b/components/ProfileCard/ProfileCard.tsx @@ -20,14 +20,15 @@ type UserProfileCardProps = { accentColor?: string; }; -let placeholderPicture = "https://placewaifu.com/image/128?greyscale&blur"; - const ProfileCard = (user: UserProfileCardProps) => { return ( <>
- {user.username} + {user.username}

{user.username}

@@ -97,7 +98,7 @@ const ProfileCard = (user: UserProfileCardProps) => { badgeImage?: string; }) => { return ( -
+

{el.badgeName}

{el.badgeDesc}