Schedule component bugfix: add missing key prop
This commit is contained in:
1 parent
faa17a3e79
commit
f16d91c5ad
1 file changed
+6
-1
@@ -37,7 +37,12 @@ export const Schedule = ({ groups }) => (
|
|||||||
<div className="schedule-table__body-group">Гр.</div>
|
<div className="schedule-table__body-group">Гр.</div>
|
||||||
|
|
||||||
{days.map((day, index) => (
|
{days.map((day, index) => (
|
||||||
<HeadDay i={index}>{day}</HeadDay>
|
<HeadDay
|
||||||
|
key={index}
|
||||||
|
i={index}
|
||||||
|
>
|
||||||
|
{day}
|
||||||
|
</HeadDay>
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user