-
Notifications
You must be signed in to change notification settings - Fork 2
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
refactor: mutate 함수 alias 변수명 통일 #267
Conversation
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.
좋습니다! 수고하셨습니다!
const { mutate: patchCommentMutate } = usePatchFeedbackComment(resumeId, eventId); | ||
const { mutate: deleteCommentMutate } = useDeleteFeedbackComment(resumeId, eventId); | ||
const { mutate: patchComment } = usePatchFeedbackComment(resumeId, eventId); | ||
const { mutate: deleteComment } = useDeleteFeedbackComment(resumeId, eventId); | ||
|
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.
오오 좋네요!
@@ -95,7 +95,7 @@ const ActivityDetails = ({ | |||
{isCurrentUser && ( | |||
<EditDeleteOptionsButton | |||
onEdit={onEdit} | |||
onDelete={() => deleteMutate({ resumeId, blockId })} |
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.
오호 이렇게 적힌게 있었군요
💻 스크린샷 (선택사항)
📃 PR 설명
method 접두사 + mutation 이름
으로 통일했습니다.📃 참고사항
🔎 PR포인트 및 궁금한 점