Skip to content

Commit

Permalink
refactor: 영수증 정보 직접 입력 페이지 타이틀 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
sikkzz committed Feb 16, 2025
1 parent f644595 commit 5304319
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/pages/ReceiptInputPage/ReceiptInputPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,13 @@ const ReceiptInputPage = () => {
<Text variant="titleM" color="primary" align="center" as="h1">
{formData.find((item) => item.key === "place")?.value
? `${formData.find((item) => item.key === "place")?.value}에`
: "영수증 정보를 입력해 주세요!"}
: "영수증 정보를"}
</Text>
<Text variant="titleM" color="primary" as="h1" align="center">
{formData.find((item) => item.key === "place")?.value
? "다녀오셨네요!"
: "입력해주세요!"}
</Text>
{formData.find((item) => item.key === "place")?.value && (
<Text variant="titleM" color="primary" as="h1" align="center">
다녀오셨네요!
</Text>
)}

<div className={styles.InfoList}>
{formData.map(({ key, value }) => (
Expand All @@ -114,7 +114,7 @@ const ReceiptInputPage = () => {
) : (
<Button
key="confirm"
text="정보가 맞아요"
text="다음"
disabled={formData.some((item) => Object.values(item).some((value) => !value))}
onClick={handleInfoRightClick}
/>
Expand Down

0 comments on commit 5304319

Please sign in to comment.