🩹(frontend) add missing key
Fix missing warning, key props was missing on the item of the for loop.
This commit is contained in:
committed by
aleb_the_flash
parent
6e49ab3230
commit
e78b8c69fe
@@ -198,7 +198,7 @@ export const IntroSlider = () => {
|
||||
</ButtonContainer>
|
||||
<SlideContainer>
|
||||
{SLIDES.map((slide, index) => (
|
||||
<Slide visible={index == slideIndex}>
|
||||
<Slide visible={index == slideIndex} key={index}>
|
||||
<Image src={slide.img} alt={t(`${slide.key}.imgAlt`)} />
|
||||
<TextAnimation visible={index == slideIndex}>
|
||||
<Heading>{t(`${slide.key}.title`)}</Heading>
|
||||
|
||||
Reference in New Issue
Block a user