aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-12-31 21:10:17 +0800
committercrupest <crupest@outlook.com>2020-12-31 21:10:17 +0800
commit00d9ff6051ff591ef44cc44d41afd1184297c1c9 (patch)
treed46a6568324a4c8b8d47c86aa586de5a264328d0
parentd9ac1c1d1d999b0e7719504ff5c3234915de8f06 (diff)
downloadtimeline-00d9ff6051ff591ef44cc44d41afd1184297c1c9.tar.gz
timeline-00d9ff6051ff591ef44cc44d41afd1184297c1c9.tar.bz2
timeline-00d9ff6051ff591ef44cc44d41afd1184297c1c9.zip
...
-rw-r--r--FrontEnd/src/app/views/timeline-common/TimelineCardTemplate.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/FrontEnd/src/app/views/timeline-common/TimelineCardTemplate.tsx b/FrontEnd/src/app/views/timeline-common/TimelineCardTemplate.tsx
index b42b3aa3..ece1942f 100644
--- a/FrontEnd/src/app/views/timeline-common/TimelineCardTemplate.tsx
+++ b/FrontEnd/src/app/views/timeline-common/TimelineCardTemplate.tsx
@@ -78,6 +78,7 @@ function TimelineCardTemplate({
} else {
return (
<Dropdown.Item
+ key={index}
onClick={item.onClick}
className={
item.color != null ? "text-" + item.color : undefined