Skip to content

Commit

Permalink
fix: 일기 조회 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Youn-Rha committed Nov 15, 2024
1 parent 4fc1d5f commit 475380f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/pages/RecordPage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ export const RecordPage = () => {
const { data: diaryData, loading: loadingDiaries, error: errorDiaries } = useGetDiariesByDate(formattedDate);

const { data: messages, loading: loadingChat, error: errorChat } = useGetChatHistory("chat", formattedDateTime);
const diary_question = [
"1. 오늘은 어떤 일이 있었나요?",
"2. 오늘의 감정은 어땠나요?",
"3. 오늘의 하루를 한 줄로 표현해보세요.",
];

const navigate = useNavigate();

Expand Down Expand Up @@ -87,7 +92,7 @@ export const RecordPage = () => {
{[0, 1, 2].map((i) => (
<Styles.TextContainer key={i}>
<Text size="m" color="black" weight="bold">
{`${i + 1}. 오늘은 어떤 일이 있었나요?`}
{diary_question[i]}
</Text>
<TextArea
variant="primary"
Expand Down

0 comments on commit 475380f

Please sign in to comment.