-
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
#54 style: 농구장 자세히 보기 UI 수정 #77
Conversation
- 아이콘 추가, 변경 - DB 완성 전 fake data 활용
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
{selectedPlace.convenience.map((tag: string, idx: number) => ( | ||
<li | ||
// eslint-disable-next-line react/no-array-index-key | ||
key={idx} |
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.
DB에 저장될 때 배열로 저장되는 건 웬만하면 id 넣어주고 그 id 값으로 key를 주는 게 좋긴 할 것 같은데.. 사실 태그는 idx로 줘도 전혀 문제될 게 없긴 해서 이 부분이 애매하긴 하네요.. 이건 eslint 무시하고 하는 걸로 하실건가요??
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.
jsx-eslint/eslint-plugin-react#1123
단순 배열 나열로 idx로 줘도 문제가 없을 것 같아서 그렇게 했습니다!
- style: 시설 채팅 스타일 수정
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.
확인했습니다
📝 #54 작업 내용
스크린샷
특이사항