|
@@ -127,9 +127,9 @@ const ButtonContainer: React.FC<IButtonContainer> = ({ saleType, isOwner, isTime
|
|
|
if (saleType === ESaleType.FIXED) {
|
|
|
return (
|
|
|
<div className={cx('btn_area')}>
|
|
|
- <div className={cx('btn_wrap')}>
|
|
|
+ {/* <div className={cx('btn_wrap')}>
|
|
|
<Button text='공유하기' onClick={handleShare} />
|
|
|
- </div>
|
|
|
+ </div> */}
|
|
|
<div className={cx('btn_wrap')}>
|
|
|
<Button text='판매 취소' useColor={true} onClick={closeSell} />
|
|
|
</div>
|
|
@@ -141,9 +141,9 @@ const ButtonContainer: React.FC<IButtonContainer> = ({ saleType, isOwner, isTime
|
|
|
if (saleType === ESaleType.AUCTION && highestPrice) {
|
|
|
return (
|
|
|
<div className={cx('btn_area')}>
|
|
|
- <div className={cx('btn_wrap')}>
|
|
|
+ {/* <div className={cx('btn_wrap')}>
|
|
|
<Button text='공유하기' onClick={handleShare} />
|
|
|
- </div>
|
|
|
+ </div> */}
|
|
|
{!!highestPrice && (
|
|
|
<div className={cx('btn_wrap')}>
|
|
|
<Button text='최고가에 판매하기' useColor={true} onClick={saleHighestPrice} />
|
|
@@ -157,9 +157,9 @@ const ButtonContainer: React.FC<IButtonContainer> = ({ saleType, isOwner, isTime
|
|
|
if (saleType === ESaleType.TIME && isTimeout && highestPrice) {
|
|
|
return (
|
|
|
<div className={cx('btn_area')}>
|
|
|
- <div className={cx('btn_wrap')}>
|
|
|
+ {/* <div className={cx('btn_wrap')}>
|
|
|
<Button text='공유하기' onClick={handleShare} />
|
|
|
- </div>
|
|
|
+ </div> */}
|
|
|
<div className={cx('btn_wrap')}>
|
|
|
<Button text='최고가에 판매하기' onClick={saleHighestPrice} />
|
|
|
</div>
|
|
@@ -171,9 +171,9 @@ const ButtonContainer: React.FC<IButtonContainer> = ({ saleType, isOwner, isTime
|
|
|
if (saleType === ESaleType.TIME && !highestPrice) {
|
|
|
return (
|
|
|
<div className={cx('btn_area')}>
|
|
|
- <div className={cx('btn_wrap')}>
|
|
|
+ {/* <div className={cx('btn_wrap')}>
|
|
|
<Button text='공유하기' onClick={handleShare} />
|
|
|
- </div>
|
|
|
+ </div> */}
|
|
|
<div className={cx('btn_wrap')}>
|
|
|
<Button text='판매 취소' useColor={true} onClick={closeSell} />
|
|
|
</div>
|
|
@@ -183,18 +183,18 @@ const ButtonContainer: React.FC<IButtonContainer> = ({ saleType, isOwner, isTime
|
|
|
|
|
|
return (
|
|
|
<div className={cx('btn_area')}>
|
|
|
- <div className={cx('btn_wrap')}>
|
|
|
+ {/* <div className={cx('btn_wrap')}>
|
|
|
<Button text='공유하기' onClick={handleShare} />
|
|
|
- </div>
|
|
|
+ </div> */}
|
|
|
</div>
|
|
|
);
|
|
|
} else {
|
|
|
// 판매 종료
|
|
|
return (
|
|
|
<div className={cx('btn_area')}>
|
|
|
- <div className={cx('btn_wrap')}>
|
|
|
+ {/* <div className={cx('btn_wrap')}>
|
|
|
<Button text='공유하기' onClick={handleShare} />
|
|
|
- </div>
|
|
|
+ </div> */}
|
|
|
<div className={cx('btn_wrap')}>
|
|
|
<Button text='판매 재등록' useColor={true} onClick={handleResale} />
|
|
|
</div>
|
|
@@ -207,9 +207,9 @@ const ButtonContainer: React.FC<IButtonContainer> = ({ saleType, isOwner, isTime
|
|
|
if (!isOnGoing) {
|
|
|
return (
|
|
|
<div className={cx('btn_area')}>
|
|
|
- <div className={cx('btn_wrap')}>
|
|
|
+ {/* <div className={cx('btn_wrap')}>
|
|
|
<Button text='공유하기' onClick={handleShare} />
|
|
|
- </div>
|
|
|
+ </div> */}
|
|
|
</div>
|
|
|
);
|
|
|
}
|
|
@@ -231,9 +231,9 @@ const ButtonContainer: React.FC<IButtonContainer> = ({ saleType, isOwner, isTime
|
|
|
if (saleType === ESaleType.AUCTION && !myBiddingPrice) {
|
|
|
return (
|
|
|
<div className={cx('btn_area')}>
|
|
|
- <div className={cx('btn_wrap')}>
|
|
|
+ {/* <div className={cx('btn_wrap')}>
|
|
|
<Button text='공유하기' onClick={handleShare} />
|
|
|
- </div>
|
|
|
+ </div> */}
|
|
|
<div className={cx('btn_wrap')}>
|
|
|
<Button text='입찰하기' useColor={true} onClick={handleBid} />
|
|
|
</div>
|
|
@@ -282,9 +282,9 @@ const ButtonContainer: React.FC<IButtonContainer> = ({ saleType, isOwner, isTime
|
|
|
|
|
|
return (
|
|
|
<div className={cx('btn_area')}>
|
|
|
- <div className={cx('btn_wrap')}>
|
|
|
+ {/* <div className={cx('btn_wrap')}>
|
|
|
<Button text='공유하기' onClick={handleShare} />
|
|
|
- </div>
|
|
|
+ </div> */}
|
|
|
</div>
|
|
|
);
|
|
|
}
|