-
Notifications
You must be signed in to change notification settings - Fork 20
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: 관리자 메인 페이지에서 썸네일을 png대신 svg로 보여주도록 수정 #787
Conversation
- mapImageSvg -> thumbnail
- mapImagesSvg -> thumbnail
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.
한 번만 눈 감아드리겠습니다... 👀 ㅋㅋㅋㅋㅋㅋㅋ
유조 수고 많으셨어요! 👏👏👏
loading="lazy" | ||
/> | ||
</Styled.ImageInner> | ||
<Styled.ImageInner dangerouslySetInnerHTML={{ __html: `${thumbnail}` }} /> |
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.
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.
mapImageSvg자체가 사라져야겠네요.
추후에 백엔드와 협의해서 api수정 후 걷어냅시다^^
구현 기능
공유하고 싶은 내용
mapImageSvg
->thumbnail
Drawer
->MapListItem
컴포넌트에서dangerouslySetInnerHTML
을 사용 했습니다.Close #763