1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-09 00:18:00 +01:00

add missing key (#2560)

This commit is contained in:
Mateusz Kwasniewski 2022-11-29 15:17:13 +01:00 committed by GitHub
parent 840510a720
commit 071f62c606
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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>,
];