Appease the linter by turning it off

This commit is contained in:
Travis Ralston 2020-04-01 14:45:54 -06:00
parent f2c41a5da7
commit 5c2841323e
9 changed files with 9 additions and 9 deletions

View file

@ -129,7 +129,7 @@ export default class Dropdown extends React.Component {
}
// TODO: [REACT-WARNING] Replace with appropriate lifecycle event
UNSAFE_componentWillReceiveProps(nextProps) {
UNSAFE_componentWillReceiveProps(nextProps) { // eslint-disable-line camelcase
if (!nextProps.children || nextProps.children.length === 0) {
return;
}