From 0c502580a448c94ce0587aa59e4c537c382601d2 Mon Sep 17 00:00:00 2001 From: Mati Date: Wed, 12 Jun 2024 04:44:24 +0200 Subject: [PATCH] Fix possible null check error (#132) --- app/src/components/GridLoader.astro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/components/GridLoader.astro b/app/src/components/GridLoader.astro index 1a44517..c6c5bcc 100644 --- a/app/src/components/GridLoader.astro +++ b/app/src/components/GridLoader.astro @@ -9,7 +9,7 @@ async function prepareItems(items: any) { if (!items) { - return undefined + return items } return await Promise.all(items.map(async (item: any) =>