diff --git a/client/src/client-only-routes/ShowCertification.js b/client/src/client-only-routes/ShowCertification.js index 784e533f56..18fd381aea 100644 --- a/client/src/client-only-routes/ShowCertification.js +++ b/client/src/client-only-routes/ShowCertification.js @@ -24,7 +24,7 @@ const propTypes = { name: PropTypes.string, certName: PropTypes.string, certTitle: PropTypes.string, - completionTime: PropTypes.string, + completionTime: PropTypes.number, date: PropTypes.string }), certDashedName: PropTypes.string, diff --git a/client/src/components/profile/Profile.js b/client/src/components/profile/Profile.js index 4f7c01129c..c0c3e7b3a1 100644 --- a/client/src/components/profile/Profile.js +++ b/client/src/components/profile/Profile.js @@ -26,7 +26,10 @@ const propTypes = { showTimeLine: PropTypes.bool }), calendar: PropTypes.object, - streak: PropTypes.shape, + streak: PropTypes.shape({ + current: PropTypes.number, + longest: PropTypes.number + }), completedChallenges: PropTypes.array, portfolio: PropTypes.array, about: PropTypes.string,