Skip to content

Commit

Permalink
fix: type error 고치기
Browse files Browse the repository at this point in the history
  • Loading branch information
heejung committed Nov 15, 2023
1 parent 7663542 commit 455eec7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pages/products/[id]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,15 +97,15 @@ const ProductDetailPage = () => {
<Flex>
<Avatar
size="xl"
name={product.seller.username}
src={product.seller?.avatarUrl ?? 'https://bit.ly/broken-link'}
name={product.seller.name}
src={product.seller?.profileImageUrl ?? 'https://bit.ly/broken-link'}
/>
<Box ml="3" w="100%">
<Badge fontSize="xl" colorScheme="green">
판매자
</Badge>
<Text fontSize="xl" fontWeight="bold">
{product.seller.username}
{product.seller.name}
<Text fontSize="xl" color="gray">
판매 재고 {product.seller.salesCount} 후기 {product.seller.reviewCount}
</Text>
Expand Down

0 comments on commit 455eec7

Please sign in to comment.