Skip to content

Commit

Permalink
fix: add return in ItemGrid (#479)
Browse files Browse the repository at this point in the history
Co-authored-by: Kim Lan Phan Hoang <[email protected]>
  • Loading branch information
spaenleh and pyphilia authored Jan 19, 2024
1 parent 78e38ad commit 7e4e6f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/main/ItemGrid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ type Props = {

const ItemGrid = ({ isLoading, items, title }: Props): JSX.Element | null => {
if (isLoading) {
<LoadingItemsIndicator />;
return <LoadingItemsIndicator />;
}

if (!items?.length) {
Expand Down

0 comments on commit 7e4e6f3

Please sign in to comment.