Fix lint issues with propTypes (#2713)
This commit is contained in:
parent
78f24c8cdc
commit
68dd995d97
@ -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() {
|
||||
|
@ -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() {
|
||||
|
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user