-
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 ] Item 컴포넌트에 수정 기능 Edit 아이콘 추가 #122
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.
LGTM 수고하셨습니다! 코멘트 하나만 확인해주세요 🚀
const Icon = getTierImage(tier); | ||
|
||
const accuracy = ((solved / total) * 100).toFixed(0); | ||
|
||
return ( | ||
<li aria-label={`문제: ${title}`} className={itemStyle}> | ||
<li | ||
// biome-ignore lint/a11y/useKeyWithMouseEvents: |
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.
useA11yHoverHandler
추가해주시면 될 것 같습니다!
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.
shared/hook/useAllyHandler.ts
에 있는 함수인데, 사용 방법은 JSDoc 보시면 쉽게 이해되실 겁니다.
지금에 와서 해당 훅을 보니 rest 파라미터를 통해 태그 속성에 {...handlers} 처럼 쓰게 하면 사용하기 더 편하겠다는 생각이 드네요.
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.
isOwner냐 아니냐로 조건부렌더링 하는 부분 포함해주면 좋을 것 같아요!
LGTM! 고생 많으셨슴다! |
#️⃣ Related Issue
Closes #120
✅ Done Task
💎 PR Point
단순 퍼블리싱이였습니다 !
📸 Screenshot
2024-10-16.2.50.48.mov