Chore(lint): fix missing prop validations
This commit is contained in:
@@ -55,7 +55,9 @@ export class Challenge extends PureComponent {
|
||||
block: PropTypes.string,
|
||||
isLocked: PropTypes.bool,
|
||||
isRequired: PropTypes.bool,
|
||||
isComingSoon: PropTypes.bool,
|
||||
isCompleted: PropTypes.bool,
|
||||
isDev: PropTypes.bool,
|
||||
isHidden: PropTypes.bool,
|
||||
challenge: PropTypes.object,
|
||||
updateCurrentChallenge: PropTypes.func.isRequired,
|
||||
|
@@ -33,6 +33,7 @@ export class ShowMap extends PureComponent {
|
||||
superBlocks: PropTypes.array,
|
||||
height: PropTypes.number,
|
||||
updateTitle: PropTypes.func.isRequired,
|
||||
params: PropTypes.object,
|
||||
fetchChallenges: PropTypes.func.isRequired
|
||||
};
|
||||
|
||||
|
@@ -49,7 +49,7 @@ export class SuperBlock extends PureComponent {
|
||||
isOpen: PropTypes.bool,
|
||||
isHidden: PropTypes.bool,
|
||||
message: PropTypes.string,
|
||||
toggleThisPanl: PropTypes.func
|
||||
toggleThisPanel: PropTypes.func
|
||||
};
|
||||
|
||||
handleSelect(eventKey, e) {
|
||||
|
Reference in New Issue
Block a user