From 41fc17416045eb601969cda17aeb3fcedad58795 Mon Sep 17 00:00:00 2001 From: Chris Torres Date: Fri, 3 Jan 2025 15:42:40 -0800 Subject: [PATCH] fix naming --- src/screens/TreeSearch/TreeSearch.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/screens/TreeSearch/TreeSearch.tsx b/src/screens/TreeSearch/TreeSearch.tsx index e8c63b2..9cd32cd 100644 --- a/src/screens/TreeSearch/TreeSearch.tsx +++ b/src/screens/TreeSearch/TreeSearch.tsx @@ -54,7 +54,7 @@ export default function TreeSearch({ navigation }: TreeSearchScreenProps) { const formattedData: TreeSpeciesItem[] = data.map( (item: TreeSpecies & { count: number }) => ({ species: item.name, - image_link: + image_url: item.image_url || 'https://example.com/placeholder.jpg', stock_count: item.count, max_height_ft: item.max_height_ft,