Fix missing key warnings in GanttChart component

This commit is contained in:
Sakura Knoll
2022-01-03 13:20:27 +09:00 Unverified
parent f1bbab1114
commit d6a8a0e7b0
+2
View File
@@ -91,6 +91,7 @@ const GanttChart = ({
{times((index) => {
return (
<Box
key={`day-border-${index}`}
sx={{
position: 'absolute',
height: totalRow * 50 + 40,
@@ -107,6 +108,7 @@ const GanttChart = ({
const weekNumber = index + 1
return (
<Text
key={`week-start-date-${index}`}
sx={{
position: 'absolute',
color: 'gray.5',