fix: missing key on list in cv
continuous-integration/drone/push Build is passing Details

pull/2/head
Guus van Meerveld 10 months ago
parent 5493f0c140
commit 35f1c82168

@ -10,6 +10,8 @@ import { Component } from "@typings/component";
import humanizeDuration from "humanize-duration";
import NextImage from "next/image";
import { Fragment } from "react";
import CvProps, {
Education as EducationProps,
Skill as SkillProps
@ -112,6 +114,7 @@ export const Cv: Component<{ data: CvProps }> = ({ data }) => {
{data.programmingLanguages.map((skill) => (
<Skill skill={skill} key={skill.name.toLowerCase()} />
))}
<Spacer y={8} />
</div>
<Spacer x={8} />
@ -120,13 +123,10 @@ export const Cv: Component<{ data: CvProps }> = ({ data }) => {
{data.education.map((education) => {
return (
<>
<Fragment key={education.title.toLowerCase()}>
<Spacer y={4} />
<Education
education={education}
key={education.title.toLowerCase()}
/>
</>
<Education education={education} />
</Fragment>
);
})}
</div>

Loading…
Cancel
Save