Skip to content

Commit

Permalink
fix: 상품 아이템 null 처리 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
Leejin-Yang committed Oct 19, 2023
1 parent 4f9469c commit 5a53a97
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions frontend/src/components/Product/ProductItem/ProductItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ const ProductItem = ({ product }: ProductItemProps) => {
const { name, price, image, averageRating, reviewCount } = product;
const [isImageLoading, setIsImageLoading] = useState(true);

if (!category) {
return null;
}

return (
<ProductItemContainer>
{image ? (
Expand Down

0 comments on commit 5a53a97

Please sign in to comment.