Skip to content

Commit

Permalink
Merge pull request #335 from prgrms-web-devcourse-final-project/feature/
Browse files Browse the repository at this point in the history
#247

feat: 상세페이지 작업 (9차 - 조기마감)
  • Loading branch information
ppyom authored Dec 9, 2024
2 parents f0ddc26 + 5e06c9e commit 294e509
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/templates/DetailTemplate/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,11 @@ export const DetailTemplate = ({
minPrice={isEarly ? myPrice || minimumPrice : minimumPrice}
beforePrice={myPrice || undefined}
onBid={() =>
handleBid(minimumPrice, myAuctionId || undefined, isEarly)
handleBid(
isEarly ? myPrice || minimumPrice : minimumPrice,
myAuctionId || undefined,
isEarly,
)
}
open={open}
onClose={handleCloseBottomSheet}
Expand Down

0 comments on commit 294e509

Please sign in to comment.