chore(client): resolve linting errors in client
This commit is contained in:
committed by
mrugesh
parent
8980528009
commit
298e263f74
@@ -23,11 +23,12 @@ const propTypes = {
|
||||
username: PropTypes.string,
|
||||
name: PropTypes.string,
|
||||
certName: PropTypes.string,
|
||||
certTitle: PropTypes.string,
|
||||
completionTime: PropTypes.string,
|
||||
date: PropTypes.string
|
||||
}),
|
||||
certDashedName: PropTypes.string,
|
||||
certName: PropTypes.string,
|
||||
certTitle: PropTypes.string,
|
||||
createFlashMessage: PropTypes.func.isRequired,
|
||||
fetchState: PropTypes.shape({
|
||||
pending: PropTypes.bool,
|
||||
|
@@ -28,7 +28,7 @@ const propTypes = {
|
||||
reportUser: PropTypes.func.isRequired,
|
||||
userFetchState: PropTypes.shape({
|
||||
pending: PropTypes.bool,
|
||||
comnplete: PropTypes.bool,
|
||||
complete: PropTypes.bool,
|
||||
errored: PropTypes.bool
|
||||
}),
|
||||
username: PropTypes.string
|
||||
|
@@ -39,6 +39,7 @@ export function DynamicForm({
|
||||
fields,
|
||||
handleSubmit,
|
||||
fields: {
|
||||
// eslint-disable-next-line react/prop-types
|
||||
_meta: { allPristine }
|
||||
},
|
||||
|
||||
|
@@ -25,7 +25,25 @@ const propTypes = {
|
||||
showPortfolio: PropTypes.bool,
|
||||
showTimeLine: PropTypes.bool
|
||||
}),
|
||||
username: PropTypes.string
|
||||
calendar: PropTypes.object,
|
||||
streak: PropTypes.shape,
|
||||
completedChallenges: PropTypes.array,
|
||||
portfolio: PropTypes.array,
|
||||
about: PropTypes.string,
|
||||
githubProfile: PropTypes.string,
|
||||
isGithub: PropTypes.bool,
|
||||
isLinkedIn: PropTypes.bool,
|
||||
isTwitter: PropTypes.bool,
|
||||
isWebsite: PropTypes.bool,
|
||||
linkedin: PropTypes.string,
|
||||
location: PropTypes.string,
|
||||
name: PropTypes.string,
|
||||
picture: PropTypes.string,
|
||||
points: PropTypes.number,
|
||||
twitter: PropTypes.string,
|
||||
username: PropTypes.string,
|
||||
website: PropTypes.string,
|
||||
yearsTopContributor: PropTypes.array
|
||||
})
|
||||
};
|
||||
|
||||
|
@@ -31,12 +31,13 @@ const propTypes = {
|
||||
isSignedIn: PropTypes.bool,
|
||||
user: PropTypes.shape({
|
||||
acceptedPrivacyTerms: PropTypes.bool,
|
||||
username: PropTypes.string,
|
||||
completedChallengeCount: PropTypes.number,
|
||||
completedProjectCount: PropTypes.number,
|
||||
completedCertCount: PropTypes.number,
|
||||
completedChallengeCount: PropTypes.number,
|
||||
completedLegacyCertCount: PropTypes.number,
|
||||
isDonating: PropTypes.bool
|
||||
completedProjectCount: PropTypes.number,
|
||||
isDonating: PropTypes.bool,
|
||||
name: PropTypes.string,
|
||||
username: PropTypes.string
|
||||
})
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user