Skip to content

Commit

Permalink
[ fix ] card 컴포넌트 key값 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
NeatKYU committed Sep 16, 2023
1 parent 4a6a8b4 commit 4ff57b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/nottodo/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,9 @@ export default function NotTodoPage() {
</div>
{nottodoList
.filter((v) => (progressState !== '' ? v.progressState === progressState : true))
.map((v, index) => (
.map((v) => (
<Card
key={'card' + index}
key={'card' + v.notToDoId}
className="mb-[8px]"
title={v.notToDoText}
startDate={new Date(v.startDate)}
Expand Down

0 comments on commit 4ff57b9

Please sign in to comment.