fix(client): apply type errors from code review
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
This commit is contained in:
@ -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,
|
||||||
|
@ -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,
|
||||||
|
Reference in New Issue
Block a user