Skip to content

Commit

Permalink
Fix linting issue 2
Browse files Browse the repository at this point in the history
  • Loading branch information
limivann committed Mar 17, 2024
1 parent ec1d25e commit bbd5d47
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions packages/ui/components/merch/skeleton/MerchListSkeleton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,12 @@ export const MerchListSkeleton: React.FC = () => {
columnGap={4}
rowGap={2}
>
{new Array(8)
.fill(null)
.map((_, i: number) => (
<GridItem role="group" cursor="pointer" mt={4} key={i}>
<Skeleton h={{ base: 250 }} width="100%" />
<SkeletonText mt={4} noOfLines={2} spacing="4" />
</GridItem>
))
.filter(Boolean)}
{Array.from({ length: 8 }, (_, i) => (
<GridItem role="group" cursor="pointer" mt={4} key={i}>
<Skeleton h={{ base: 250 }} width="100%" />
<SkeletonText mt={4} noOfLines={2} spacing="4" />
</GridItem>
))}
</Grid>
);
};

0 comments on commit bbd5d47

Please sign in to comment.