We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c157423 commit a63f2beCopy full SHA for a63f2be
components/SLDSLookup/Menu/index.js
@@ -14,10 +14,10 @@ import {Icon} from "../../SLDSIcons";
14
class Menu extends React.Component {
15
constructor(props){
16
super(props);
17
- this.state = {isEmpty: false};
+ this.state = {};
18
}
19
20
- componentDidUpdate(){
+ componentDidUpdate(prevProps, prevState){
21
let list = React.findDOMNode(this.refs.list).children.length;
22
this.props.getListLength(list);
23
0 commit comments