File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ export const QualificationsPage: React.VFC<QualificationsPageProps> = ({ qualifi
1414 const history = qualifications
1515 . filter ( q => q . type === 'consulting' || q . type === 'employment' ) ;
1616 const title = "My Qualifications & History" ;
17- const description = history . filter ( h => h . slug === "freelance" ) [ 0 ] . textContent ;
17+ const description = history . filter ( h => h . slug === "/ freelance" ) [ 0 ] . textContent ;
1818
1919 return (
2020 < BasicLayout >
@@ -48,7 +48,7 @@ const Skills = ({ skills }: { skills: SkillModel[] }) => {
4848 < Heading as = "h2" size = "title" > Skills and Interests</ Heading >
4949 </ Layout . Item >
5050 { skills . map ( skill => (
51- < Layout . Item oneThird = { breakpoints . md } key = { skill . slug } >
51+ < Layout . Item oneThird = { breakpoints . md } key = { skill . slug ?? skill . title } >
5252 < Heading as = "h4" > { skill . title } </ Heading >
5353 < Text as = "div" muted > { skill . description } </ Text >
5454 </ Layout . Item >
@@ -75,7 +75,7 @@ const ProfessionalHistory = ({ history }: { history: QualificationModel[] }) =>
7575 < Heading as = "h2" size = "title" > Professional History</ Heading >
7676 < Stack gap = "md" direction = "vertical" >
7777 { history . map ( item => (
78- < Stack . Item >
78+ < Stack . Item key = { item . slug ?? item . title } >
7979 < Heading as = "h3" > { item . title } </ Heading >
8080 < Heading as = "h4" muted > { item . roles ?. join ( ', ' ) } </ Heading >
8181 < Text as = "div" muted > { getTime ( item ) } { getType ( item ) } </ Text >
You can’t perform that action at this time.
0 commit comments