mirror of
https://github.com/Paris-est-Ludique/intranet.git
synced 2025-06-08 08:34:20 +02:00
Fix needed key in lists
This commit is contained in:
parent
ef4d1e40ba
commit
8c95baa755
@ -47,6 +47,7 @@ const DaysAvailability: FC<DaysAvailabilityProps> = ({ volunteer }): JSX.Element
|
|||||||
: styles.unknown,
|
: styles.unknown,
|
||||||
dayId === dayId.toUpperCase() ? styles.weekend : styles.week
|
dayId === dayId.toUpperCase() ? styles.weekend : styles.week
|
||||||
)}
|
)}
|
||||||
|
key={dayId}
|
||||||
>
|
>
|
||||||
{hasWishes ? "" : "?"}
|
{hasWishes ? "" : "?"}
|
||||||
</td>
|
</td>
|
||||||
@ -74,7 +75,7 @@ const TeamMembers: FC<Props> = ({ teamId }): JSX.Element => {
|
|||||||
<th>Bénévoles</th>
|
<th>Bénévoles</th>
|
||||||
<>
|
<>
|
||||||
{dayList.map((dayId) => (
|
{dayList.map((dayId) => (
|
||||||
<th className={styles.dayTitle}>
|
<th className={styles.dayTitle} key={`day${dayId}`}>
|
||||||
{dayId.toUpperCase()} (
|
{dayId.toUpperCase()} (
|
||||||
{volunteers.filter(hasDay(dayId.toUpperCase())).length})
|
{volunteers.filter(hasDay(dayId.toUpperCase())).length})
|
||||||
</th>
|
</th>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user