From 512df4197cdec5997eb8e9dd621ffeda6bdbdfe5 Mon Sep 17 00:00:00 2001 From: Mubashir Shariq <103755591+Mubashirshariq@users.noreply.github.com> Date: Mon, 1 Jul 2024 20:58:19 +0530 Subject: [PATCH] Bugfix/broken icon display on market place tab (#2737) * fixed broken display on marketplace tab * updated * updated backgroudImg to background when no Imgsrc --- packages/ui/src/ui-component/cards/ItemCard.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ui/src/ui-component/cards/ItemCard.jsx b/packages/ui/src/ui-component/cards/ItemCard.jsx index f9cd2a56..d51f5fea 100644 --- a/packages/ui/src/ui-component/cards/ItemCard.jsx +++ b/packages/ui/src/ui-component/cards/ItemCard.jsx @@ -56,7 +56,7 @@ const ItemCard = ({ data, images, onClick }) => { flexShrink: 0, marginRight: 10, borderRadius: '50%', - background: `url(${data.iconSrc})`, + backgroundImage: `url(${data.iconSrc})`, backgroundSize: 'contain', backgroundRepeat: 'no-repeat', backgroundPosition: 'center center'