Fix lint issues with propTypes (#2713)

This commit is contained in:
polemius 2019-10-24 10:45:00 +02:00 committed by Erez Rokah
parent 78f24c8cdc
commit 68dd995d97
3 changed files with 7 additions and 0 deletions

View File

@ -22,6 +22,7 @@ class EntriesCollection extends React.Component {
cursor: PropTypes.object.isRequired,
loadEntries: PropTypes.func.isRequired,
traverseCollectionCursor: PropTypes.func.isRequired,
entriesLoaded: PropTypes.bool,
};
componentDidMount() {

View File

@ -79,6 +79,11 @@ class Editor extends React.Component {
}),
hasChanged: PropTypes.bool,
t: PropTypes.func.isRequired,
retrieveLocalBackup: PropTypes.func,
localBackup: PropTypes.bool,
loadLocalBackup: PropTypes.func,
persistLocalBackup: PropTypes.func,
deleteLocalBackup: PropTypes.func,
};
componentDidMount() {

View File

@ -54,6 +54,7 @@ export default class Widget extends Component {
uniqueFieldId: PropTypes.string.isRequired,
loadEntry: PropTypes.func.isRequired,
t: PropTypes.func.isRequired,
onValidateObject: PropTypes.func,
};
shouldComponentUpdate(nextProps) {