Skip to content

Commit

Permalink
fix: (#740) .map을 사용하며 key를 설정하지 않아 발생한 오류 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
chsua committed Oct 17, 2023
1 parent 8beb5b7 commit 371b263
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default function ReportApproveResult() {
<b>사유 </b>
<S.List>
{[...new Set(data.reasonList.map(each => REPORT_MESSAGE[each]))].map(reason => {
return <S.ListItem>{reason}</S.ListItem>;
return <S.ListItem key={reason}>{reason}</S.ListItem>;
})}
</S.List>
</S.ListItem>
Expand Down

0 comments on commit 371b263

Please sign in to comment.