fix(client): apply type errors from code review

Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
This commit is contained in:
mrugesh
2019-07-22 15:45:49 +05:30
parent 298e263f74
commit ae7b2c2034
2 changed files with 5 additions and 2 deletions

View File

@ -24,7 +24,7 @@ const propTypes = {
name: PropTypes.string, name: PropTypes.string,
certName: PropTypes.string, certName: PropTypes.string,
certTitle: PropTypes.string, certTitle: PropTypes.string,
completionTime: PropTypes.string, completionTime: PropTypes.number,
date: PropTypes.string date: PropTypes.string
}), }),
certDashedName: PropTypes.string, certDashedName: PropTypes.string,

View File

@ -26,7 +26,10 @@ const propTypes = {
showTimeLine: PropTypes.bool showTimeLine: PropTypes.bool
}), }),
calendar: PropTypes.object, calendar: PropTypes.object,
streak: PropTypes.shape, streak: PropTypes.shape({
current: PropTypes.number,
longest: PropTypes.number
}),
completedChallenges: PropTypes.array, completedChallenges: PropTypes.array,
portfolio: PropTypes.array, portfolio: PropTypes.array,
about: PropTypes.string, about: PropTypes.string,