This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import { Pressable, StyleSheet, Text, View } from 'react-native';
|
||||
|
||||
import { colors } from '../../utils/constants';
|
||||
import { formatPrice } from '../../utils/formatPrice';
|
||||
import ProductImage from './ProductImage';
|
||||
import ProductScoreBadge from './ProductScoreBadge';
|
||||
|
||||
@@ -13,7 +12,7 @@ export default function ProductCard({ product, rating, onPress }) {
|
||||
<View style={styles.copy}>
|
||||
<Text style={styles.name}>{product.name}</Text>
|
||||
<Text style={styles.meta}>
|
||||
{product.brand || 'Ohne Marke'} · {formatPrice(product.price, product.currency)}
|
||||
{product.brand || 'Ohne Marke'}
|
||||
</Text>
|
||||
<Text style={styles.note}>
|
||||
{product.category || 'Produkt'} · Barcode {product.barcode}
|
||||
|
||||
Reference in New Issue
Block a user