mirror of
https://github.com/koodiklinikka/koodiklinikka.fi.git
synced 2026-02-16 15:53:26 +00:00
Fix Warning: Each child in a list should have a unique "key" prop. (#59)
Sponsors don't have ids – name is probably unique and can be used as a key
This commit is contained in:
committed by
Riku Rouvila
parent
06614f7a6f
commit
663adf80ee
@@ -17,7 +17,7 @@ export function Footer() {
|
||||
<div className="sponsors">
|
||||
<div className="sponsors__label">Yhteistyössä</div>
|
||||
{sponsors.map(sponsor => (
|
||||
<SponsorLink key={sponsor.id} {...sponsor} />
|
||||
<SponsorLink key={sponsor.name} {...sponsor} />
|
||||
))}
|
||||
</div>
|
||||
<div className="contacts">
|
||||
|
||||
Reference in New Issue
Block a user