Skip to content

Commit

Permalink
feat: 리뷰 작성 버튼 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
jissssu committed Dec 19, 2024
1 parent eb5dad2 commit 42d6748
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/customer/status/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export default function Status() {
} else if (reservationStatus === "미용 확정") {
return "리뷰 작성";
}
return "결제 취소";
return "리뷰 작성";
};

const renderCustomerInfoButtons = (reservationStatus: string) => [
Expand Down Expand Up @@ -226,7 +226,7 @@ export default function Status() {
buttons={renderCustomerInfoButtons("confirmed")}
status={thread.style || "알 수 없음"}
payment={formatCurrency(
thread.estimate?.estimatedCost || 0,
thread.estimatedCost || 0,
)}
onClick={() =>
console.log(`CustomerInfo clicked for thread ${index}`)
Expand Down

0 comments on commit 42d6748

Please sign in to comment.