Skip to content

Commit

Permalink
add missing key (#2560)
Browse files Browse the repository at this point in the history
  • Loading branch information
kwasniew committed Nov 29, 2022
1 parent 840510a commit 071f62c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/component/events/EventDiff/EventDiff.tsx
Expand Up @@ -85,7 +85,7 @@ const EventDiff = ({ entry }: IEventDiffProps) => {
// Just show the data if there is no diff yet.
const data = entry.data || entry.preData;
changes = [
<div style={entry.data ? styles.N : styles.D}>
<div key={0} style={entry.data ? styles.N : styles.D}>
{JSON.stringify(data, null, 2)}
</div>,
];
Expand Down

0 comments on commit 071f62c

Please sign in to comment.