diff --git a/frontend/src/components/Image.tsx b/frontend/src/components/Image.tsx index f199737d..170db31b 100644 --- a/frontend/src/components/Image.tsx +++ b/frontend/src/components/Image.tsx @@ -1,8 +1,6 @@ const Image = () => { return ( -
-
-
+
); }; diff --git a/frontend/src/components/listings/ListingGridCard.tsx b/frontend/src/components/listings/ListingGridCard.tsx index 7a43d65d..6d504518 100644 --- a/frontend/src/components/listings/ListingGridCard.tsx +++ b/frontend/src/components/listings/ListingGridCard.tsx @@ -26,6 +26,7 @@ const ListingGridCard = (props: Props) => { className={clsx( "transition-transform duration-100 ease-in-out transform cursor-pointer", "flex flex-col max-w-sm rounded material-card bg-white justify-between", + "dark:bg-gray-900", hovering ? "scale-105" : "scale-100", )} onMouseEnter={() => setHovering(true)} @@ -43,21 +44,21 @@ const ListingGridCard = (props: Props) => { )}
- + {listing ? ( listing.name ) : ( -
+
)}
- + {listing ? ( listing?.description && ( ) ) : ( -
+
)}
diff --git a/frontend/src/pages/Browse.tsx b/frontend/src/pages/Browse.tsx index 63aae77d..c0f12dd6 100644 --- a/frontend/src/pages/Browse.tsx +++ b/frontend/src/pages/Browse.tsx @@ -28,7 +28,7 @@ const Browse = () => { useEffect(() => { handleSearch(); - }, [debouncedSearch]); + }, [debouncedSearch, pageNumber]); const handleSearch = async () => { setListingIds(null); @@ -87,24 +87,22 @@ const Browse = () => { {hasButton && (
-
- {prevButton && ( - - )} - {nextButton && ( - - )} -
+ {prevButton && ( + + )} + {nextButton && ( + + )}
)}