From 70b869739fa788cacfe890ce1784413b2e73d4e9 Mon Sep 17 00:00:00 2001 From: Henrik Larsson Date: Fri, 11 Aug 2023 10:25:43 +0200 Subject: [PATCH] Fixed priority --- components/product/grid.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/components/product/grid.tsx b/components/product/grid.tsx index 2f217aa70..c93da2915 100644 --- a/components/product/grid.tsx +++ b/components/product/grid.tsx @@ -28,6 +28,7 @@ export function Grid({ }`} alt={image.alt} key={index} + priority={index === 0 ? true : false} /> ); }