Skip to content

Commit

Permalink
Fix possible null check error (#132)
Browse files Browse the repository at this point in the history
  • Loading branch information
matiboux authored Jun 12, 2024
1 parent 5b4006a commit 0c50258
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/components/GridLoader.astro
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ async function prepareItems(items: any)
{
if (!items)
{
return undefined
return items
}
return await Promise.all(items.map(async (item: any) =>
Expand Down

0 comments on commit 0c50258

Please sign in to comment.