From 7e4e6f34c9bcacdd3837cc9db9fbd9259f8475bf Mon Sep 17 00:00:00 2001 From: Basile Spaenlehauer Date: Fri, 19 Jan 2024 18:12:19 +0100 Subject: [PATCH] fix: add return in `ItemGrid` (#479) Co-authored-by: Kim Lan Phan Hoang --- src/modules/main/ItemGrid.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/main/ItemGrid.tsx b/src/modules/main/ItemGrid.tsx index 47f6d91c..3af95e8b 100644 --- a/src/modules/main/ItemGrid.tsx +++ b/src/modules/main/ItemGrid.tsx @@ -13,7 +13,7 @@ type Props = { const ItemGrid = ({ isLoading, items, title }: Props): JSX.Element | null => { if (isLoading) { - ; + return ; } if (!items?.length) {