This commit is contained in:
shafi54 2026-03-15 22:38:17 +05:30
parent 79bf6782f5
commit 1a3fe7826f

View file

@ -15,6 +15,7 @@ import {
import { useProductSlotIdentifier } from '@/hooks/useProductSlotIdentifier'; import { useProductSlotIdentifier } from '@/hooks/useProductSlotIdentifier';
import { useCartStore } from '@/src/store/cartStore'; import { useCartStore } from '@/src/store/cartStore';
import { trpc } from '@/src/trpc-client'; import { trpc } from '@/src/trpc-client';
import { Image as RnImage } from 'react-native'
interface ProductCardProps { interface ProductCardProps {
@ -129,7 +130,7 @@ const ProductCard: React.FC<ProductCardProps> = ({
activeOpacity={0.9} activeOpacity={0.9}
> >
<View style={tw`relative`}> <View style={tw`relative`}>
<Image <RnImage
source={{ uri: item.images?.[0] }} source={{ uri: item.images?.[0] }}
style={{ width: "100%", height: itemWidth, resizeMode: "cover" }} style={{ width: "100%", height: itemWidth, resizeMode: "cover" }}
/> />