Skip to content

Commit

Permalink
Not use array index as key
Browse files Browse the repository at this point in the history
  • Loading branch information
Mauro Takeda committed Aug 10, 2023
1 parent 6112479 commit c233c10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion react/components/QuoteDetails/QuoteUpdateHistory.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const QuoteUpdateHistory = ({ updateHistory }: any) => {
)}
{updateHistory.map((update: any, index: number) => {
return (
<div key={index} className="ph4 pv2">
<div key={update.date} className="ph4 pv2">
<Card>
<div>
<FormattedMessage
Expand Down

0 comments on commit c233c10

Please sign in to comment.