From 8b7f44538cc7b688292a3f1bfac887fbd885add8 Mon Sep 17 00:00:00 2001 From: Liliana Sanfilippo <liliana.sanfilippo@uni-bielefeld.de> Date: Sun, 29 Sep 2024 16:26:18 +0200 Subject: [PATCH] Warning: Each child in a list should have a unique "key" prop. --- src/contents/description.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/contents/description.tsx b/src/contents/description.tsx index f754ebe0..a2e9d29a 100644 --- a/src/contents/description.tsx +++ b/src/contents/description.tsx @@ -651,7 +651,7 @@ function createDrugSteckbrief(data: DrugDatensatz){ } examplelist.push( - <div className="drug"> + <div key={index+500} className="drug"> <H4 text={data.examples[index].title}/> <ul key={index}>{absaetze}</ul> </div> -- GitLab