Bugfix/broken icon display on market place tab (#2737)

* fixed broken display on marketplace tab

* updated

* updated backgroudImg to background when no Imgsrc
pull/2749/head
Mubashir Shariq 2024-07-01 20:58:19 +05:30 committed by GitHub
parent 4d174495dc
commit 512df4197c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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'