Skip to content

Commit

Permalink
Fix: key props error 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
BearHumanS committed Feb 22, 2024
1 parent 81a3caf commit c68befc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/comment/Comments.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,10 @@ const Comments = ({ pokemonState }: PokemonInfoProps) => {
({ id, comment, displayName, createdAt, uid }) => {
const createdDate = FORMDATE(createdAt);
return (
<li className={styles.mobile__comments__list}>
<li
className={styles.mobile__comments__list}
key={createdAt}
>
<div>
<div className={styles.mobile__comments__list__info}>
<span>{displayName}</span>
Expand Down

0 comments on commit c68befc

Please sign in to comment.