Skip to content

Commit

Permalink
feat: Item padding 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Sieonn committed Dec 19, 2024
1 parent 6bbddf5 commit 0ed7223
Showing 1 changed file with 21 additions and 23 deletions.
44 changes: 21 additions & 23 deletions src/pages/customer/status/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -212,29 +212,27 @@ export default function Status() {
case "confirmed":
return (
<>
<div style={{ padding: "0 20px" }}>
{threadsData?.threads?.length ? (
threadsData.threads.map((thread, index) => (
<CustomerInfo
key={index}
store={thread.workspaceName || "알 수 없음"}
score={thread.score || 0}
review={thread.reviewCount || 0}
reservation={thread.threadStep || "알 수 없음"}
location={thread.address || "알 수 없음"}
thumbnailUrl={thread.thumbnailUrl || Basic}
buttons={renderCustomerInfoButtons("confirmed")}
status={thread.style || "알 수 없음"}
payment={thread.estimatedCost || 0}
onClick={() =>
console.log(`CustomerInfo clicked for thread ${index}`)
}
/>
))
) : (
<NoReceived />
)}
</div>
{threadsData?.threads?.length ? (
threadsData.threads.map((thread, index) => (
<CustomerInfo
key={index}
store={thread.workspaceName || "알 수 없음"}
score={thread.score || 0}
review={thread.reviewCount || 0}
reservation={thread.threadStep || "알 수 없음"}
location={thread.address || "알 수 없음"}
thumbnailUrl={thread.thumbnailUrl || Basic}
buttons={renderCustomerInfoButtons("confirmed")}
status={thread.style || "알 수 없음"}
payment={thread.estimatedCost || 0}
onClick={() =>
console.log(`CustomerInfo clicked for thread ${index}`)
}
/>
))
) : (
<NoReceived />
)}
</>
);
default:
Expand Down

0 comments on commit 0ed7223

Please sign in to comment.