Skip to content

Commit

Permalink
fix unique key warning
Browse files Browse the repository at this point in the history
  • Loading branch information
nileshgulia1 authored Nov 10, 2022
1 parent 3ff8b81 commit f72f7c2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/theme/Widgets/DataProvenanceView.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@ const DataProvenanceWidgetView = ({ value, className }) =>
value?.data ? (
<List className={cx(className, 'widget')} bulleted={true}>
{value.data.map((item, index) => (
<List.Item className="horizontal">
<List.Content key={index}>
<List.Item className="horizontal" key={index}>
<List.Content >
{item.link ? (
<UniversalLink href={item.link}>{item.title}</UniversalLink>
) : (
item.title
)}
</List.Content>
{item.organisation && (
<List.Description key={index}>
<List.Description>
{', ' + item.organisation}
</List.Description>
)}
Expand Down

0 comments on commit f72f7c2

Please sign in to comment.