edge_redacted #4

Closed
shafi wants to merge 23 commits from edge_redacted into main
Showing only changes of commit 1a3fe7826f - Show all commits

View file

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