From 984bee1fcf67dfd9d1232a389a43ce107c8c5a3d Mon Sep 17 00:00:00 2001 From: Ariful Alam Date: Wed, 12 Oct 2022 16:33:55 +0600 Subject: [PATCH] Fix prop definition of externalProjects --- src/components/GitProfile.jsx | 2 +- types/index.d.ts | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/GitProfile.jsx b/src/components/GitProfile.jsx index d9de889..93b7630 100644 --- a/src/components/GitProfile.jsx +++ b/src/components/GitProfile.jsx @@ -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, }) ), diff --git a/types/index.d.ts b/types/index.d.ts index d082fee..e8b4482 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -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 {