Fix projects not being displayed properly

This commit is contained in:
Tanguy Herbron 2021-04-19 15:35:51 +02:00
parent 6c9d1206fd
commit 161793e76c

View File

@ -12,7 +12,7 @@ export default function CaseSection(props) {
<h1 className={styles.title}>Case Studies</h1> <h1 className={styles.title}>Case Studies</h1>
<div className={styles.cardRow}> <div className={styles.cardRow}>
{props.caseStudies.map((study) => ( {props.caseStudies.map((study) => (
<CaseCard key={study.title} study={props.caseStudies[0]} /> <CaseCard key={study.title} study={props.caseStudies[props.caseStudies.indexOf(study)]} />
))} ))}
</div> </div>
</div> </div>