From a3c2ee29818540fc9c6eadd9b4cccded4a8a4ecb Mon Sep 17 00:00:00 2001 From: Violet Caulfield Date: Mon, 10 Feb 2025 20:44:48 -0600 Subject: [PATCH] fix search result images --- api/queries/image.ts | 1 + components/Global/components/item.tsx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/api/queries/image.ts b/api/queries/image.ts index 94a8ebf8..39167dd2 100644 --- a/api/queries/image.ts +++ b/api/queries/image.ts @@ -12,4 +12,5 @@ export const useItemImage = (itemId: string, imageType: ImageType = ImageType.Pr Math.ceil(height / 100) * 100 // So these keys need to match ], queryFn: () => fetchItemImage(itemId, imageType, width, height), + retry: 3, }); \ No newline at end of file diff --git a/components/Global/components/item.tsx b/components/Global/components/item.tsx index 6105380e..189ef849 100644 --- a/components/Global/components/item.tsx +++ b/components/Global/components/item.tsx @@ -69,7 +69,7 @@ export default function Item({ paddingVertical={"$2"} marginHorizontal={"$1"} > - +