optimising and making it better

This commit is contained in:
sdarbinyan
2026-02-26 21:54:21 +04:00
parent 7a00a8f1e3
commit 10b4974719
58 changed files with 318 additions and 1804 deletions

View File

@@ -5,7 +5,7 @@ export function getDiscountedPrice(item: Item): number {
}
export function getMainImage(item: Item): string {
return item.photos?.[0]?.url || '';
return item.photos?.[0]?.url || '/assets/images/placeholder.svg';
}
export function trackByItemId(index: number, item: Item): number {