Skip to content

Commit a63f2be

Browse files
committed
Add in add item at bottom of Menu
1 parent c157423 commit a63f2be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/SLDSLookup/Menu/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ import {Icon} from "../../SLDSIcons";
1414
class Menu extends React.Component {
1515
constructor(props){
1616
super(props);
17-
this.state = {isEmpty: false};
17+
this.state = {};
1818
}
1919

20-
componentDidUpdate(){
20+
componentDidUpdate(prevProps, prevState){
2121
let list = React.findDOMNode(this.refs.list).children.length;
2222
this.props.getListLength(list);
2323
}

0 commit comments

Comments
 (0)