Skip to content

Conversation

@yongaricode
Copy link
Contributor

🔥 Issues

이슈 연결

✅ What to do

  • 독립 출판물 등록 시 서점아이디 오류 해결

📄 Description

  • 독립 출판물 등록 시 서점아이디 오류 해결

🤔 Considerations

🔄 검색된 서점 데이터에서 ID 관련 오류 수정

  • 초기 useEffect로 불러온 서점 데이터는 bookstoreId, bookStoreName 등의 명확한 키가 있었음
  • 하지만 검색 결과로 들어온 데이터는 스프레드 연산자(...item)만 적용되어,
    특정 필드명을 명시하지 않으면 bookstoreId가 undefined가 되어 오류 발생
  • map() 시에 필요한 필드를 명확히 설정해 문제 해결

🛠️ Improvements to Make

개선할 사항

👀 References

스크린샷 또는 참고사항

@yongaricode yongaricode added the ✔️Fix 에러 수정 label Apr 9, 2025
@yongaricode yongaricode merged commit 4ef23f8 into develop Apr 9, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

✔️Fix 에러 수정

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant