Skip to content

Commit

Permalink
fix. product price handling
Browse files Browse the repository at this point in the history
  • Loading branch information
doyupK committed Sep 20, 2023
1 parent a5049d5 commit aec59e7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/web/src/components/market/marketCard/marketCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ const MarketColumn = (
<Typography fontSize="body-14" fontWeight="bold" color="system-1">
{price && price === 1
? '판매 완료'
: price !== 1
: price !== 0
? `${formatter(price * 10000)}원`
: '상담'}
</Typography>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ const MarketDetailHeader = ({
<p className="market_price">
{price && price === 1
? '판매 완료'
: price !== 1
: price !== 0
? `${formatter(price * 10000)}원`
: '상담'}
</p>
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/components/market/marketRow/marketRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ const MarketRow = ({
<Typography fontSize="body-14" fontWeight="bold" color="system-1">
{price && price === 1
? '판매 완료'
: price !== 1
: price !== 0
? `${formatter(price * 10000)}원`
: '상담'}
</Typography>
Expand Down

0 comments on commit aec59e7

Please sign in to comment.