From 6a2b568b5401be4fd07c09b72ce972a4b2a43708 Mon Sep 17 00:00:00 2001
From: Rafi Zadanly <zadanlyr@gmail.com>
Date: Tue, 23 Apr 2024 11:58:22 +0700
Subject: Fix image on brand card

---
 src/lib/brand/components/BrandCard.jsx | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'src/lib/brand/components/BrandCard.jsx')

diff --git a/src/lib/brand/components/BrandCard.jsx b/src/lib/brand/components/BrandCard.jsx
index bb1a17f7..731214ff 100644
--- a/src/lib/brand/components/BrandCard.jsx
+++ b/src/lib/brand/components/BrandCard.jsx
@@ -1,4 +1,4 @@
-import Image from '@/core/components/elements/Image/Image'
+import Image from '~/components/ui/image'
 import Link from '@/core/components/elements/Link/Link'
 import useDevice from '@/core/hooks/useDevice'
 import { createSlug } from '@/core/utils/slug'
@@ -16,6 +16,8 @@ const BrandCard = ({ brand }) => {
         <Image
           src={brand.logo}
           alt={brand.name}
+          width={128}
+          height={128}
           className='h-full w-full object-contain object-center'
         />
       )}
-- 
cgit v1.2.3

