-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEAT] Task 상세 조회 api 연결 #235
Conversation
ee03741
to
68e416a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
잘 동작하는 것 확인했습니다!! 타입 오류 잡느라 수고하셨습니다 👍 👍
// Task 상세 설명 조회 | ||
const useTaskDescription = ({ taskId, targetDate, isOpen }: TaskDescriptionType) => { | ||
const data = useQuery({ | ||
queryKey: ['today', 'taskDesc', taskId, targetDate], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
쿼리키를 두개를 지정할 수 있었네요! 몰랐던 사실인데 배워갑니다 !!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
targetDate에서 타입에러 처리때문에 많이 고생하셨군요 ㅜ 아무래도 여러 곳에서 쓰이는 타입이다 보니 Date로도 쓰이고 string으로 쓰이는데 그 처리를 위해 잘 해주신 것 확인했습니다! 정말 고생 많으셨습니다 👍
작업 내용 🧑💻
알게된 점 🚀
리뷰 요구사항 💬
관련 이슈
close #194
스크린샷
2024-07-19.5.39.30.mov