Skip to content

Commit

Permalink
added key for table rows
Browse files Browse the repository at this point in the history
  • Loading branch information
amit-s19 committed Jan 12, 2024
1 parent 3ebcf5e commit 4b13903
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/amakrushi/src/components/chat-message-item/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ const ChatMessageItem: FC<ChatMessageItemPropType> = ({
<div>Conditions</div>
</div>
<div className={styles.tableData}>
{JSON.parse(content?.text)?.map((el: any, idx: any) => <div className={styles.tableDataCol}>
{JSON.parse(content?.text)?.map((el: any, idx: any) => <div key={el.datetime + idx} className={styles.tableDataCol}>
<div><b> {el.datetime}</b></div>
<div>{el.tempmax}</div>
<div>{el.tempmin}</div>
Expand Down

0 comments on commit 4b13903

Please sign in to comment.