Skip to content

Commit

Permalink
Fix linting 3
Browse files Browse the repository at this point in the history
  • Loading branch information
limivann committed Mar 17, 2024
1 parent bbd5d47 commit 5556f44
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions apps/web/features/layout/components/MerchLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,7 @@ export const MerchLayout = ({ children }: MerchLayoutProps) => {
const disabled = status?.disabled;

if (isStatusLoading) {
return (
<Page>
<MerchListSkeleton />
</Page>
);
return <Page>{<MerchListSkeleton /> ?? <></>}</Page>;
}

return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export const MerchListSkeleton: React.FC = () => {
columnGap={4}
rowGap={2}
>
{Array.from({ length: 8 }, (_, i) => (
{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" />
Expand Down

0 comments on commit 5556f44

Please sign in to comment.