Fix prop definition of externalProjects

This commit is contained in:
Ariful Alam 2022-10-12 16:33:55 +06:00 committed by Ariful Alam
parent 53b4a1ee39
commit 984bee1fcf
2 changed files with 4 additions and 4 deletions

View File

@ -279,7 +279,7 @@ GitProfile.propTypes = {
PropTypes.shape({
title: PropTypes.string.isRequired,
description: PropTypes.string.isRequired,
link: PropTypes.string,
link: PropTypes.string.isRequired,
imageUrl: PropTypes.string,
})
),

6
types/index.d.ts vendored
View File

@ -222,10 +222,10 @@ export interface Certifications {
}
export interface ExternalProjects {
title?: string;
description?: string;
title: string;
description: string;
imageUrl?: string;
link?: string;
link: string;
}
export interface Education {