Skip to content
This repository has been archived by the owner on Jan 4, 2023. It is now read-only.

Commit

Permalink
Update SearchPage.jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
sonicname committed Sep 8, 2022
1 parent 9ac8254 commit 87d72e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/page/SearchPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ const SearchPage = ({ type }) => {
</div>
)}
<InfiniteScroll loadMore={fetchNextPage} hasMore={hasNextPage}>
<div className='grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-4'>
<div className='grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-2 md:gap-4 lg:gap-4'>
{!isLoading &&
data.pages.map((pageData) =>
pageData.data.map((item) => (
Expand Down

1 comment on commit 87d72e7

@vercel
Copy link

@vercel vercel bot commented on 87d72e7 Sep 8, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.