diff --git a/src/pages/home/components/ServiceItem.tsx b/src/pages/home/components/ServiceItem.tsx index 5e1d6b2..2bda228 100644 --- a/src/pages/home/components/ServiceItem.tsx +++ b/src/pages/home/components/ServiceItem.tsx @@ -4,8 +4,8 @@ import { type FC } from 'react' const ServiceItem: FC<{ product: ProductType }> = ({ product }) => { return ( -
-
+
+
{product.images?.[0] ? ( ( ) const ServicesSkeleton: FC = () => ( -
+
{Array.from({ length: SKELETON_COUNT }).map((_, index) => (
-
+
))} @@ -98,7 +98,7 @@ const Services: FC = () => { /> ) : null} -
+
{isLoading ? ( ) : products.length === 0 ? ( @@ -106,7 +106,7 @@ const Services: FC = () => { {t('home.noProducts')}

) : ( -
+
{products.map((item) => ( ))}