Skip to content

Commit

Permalink
fix: nao exibindo valor atual no select
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasdomi committed Sep 25, 2019
1 parent 39e50b5 commit 9c6b51f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/components/select/elements/select-option.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import styles from '../select.styl';

class SelectOption extends PureComponent {
render() {
const { value, icon, onSelect, selected, children, noneValue } = this.props;
const { value, icon, onSelect, selected, children, noCurrentValue } = this.props;
return (
<Fragment>
{!noneValue &&
{!noCurrentValue &&
<li
className={classNames(styles.option, { [styles.isSelected]: selected })}
onClick={onSelect({ name: children, value })}
Expand Down

0 comments on commit 9c6b51f

Please sign in to comment.