Skip to content

Commit

Permalink
Merge pull request #29 from saadman-galib/fix/home-blog-loading
Browse files Browse the repository at this point in the history
Blog loading reduced to 3 to fit on desktop screen
  • Loading branch information
DeepsEffect authored Oct 13, 2024
2 parents 7197190 + f4dd900 commit d2bd6ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Homepage/Homepage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export const Homepage = () => {
<div className="grid gird-cols-1 gap-4 lg:p-4 mt-4 lg:mt-2">
{isLoading ? (
// Show skeletons while loading
Array.from({ length: 5 }).map((_, index) => (
Array.from({ length: 3 }).map((_, index) => (
<BlogCardSkeleton key={index} />
))
) : (
Expand Down

0 comments on commit d2bd6ff

Please sign in to comment.