Fixed CommandList to not sometimes include an empty row

This commit is contained in:
hmhealey
2015-11-23 13:47:47 -05:00
parent fd229a5023
commit 6a9ecf2079
+1 -1
View File
@@ -81,7 +81,7 @@ export default class CommandList extends React.Component {
<div
ref='mentionlist'
className='command-box'
style={{height: (this.state.suggestions.length * 56) + 2}}
style={{height: (suggestions.length * 56) + 2}}
>
{suggestions}
</div>