Simplify expression
This commit is contained in:
parent
ee64f4a8dd
commit
32818aff4f
1 changed files with 1 additions and 1 deletions
|
@ -154,7 +154,7 @@ export default class Dropdown extends React.Component {
|
|||
_onInputClick(ev) {
|
||||
if (!this.state.expanded) {
|
||||
this.setState({
|
||||
expanded: !this.state.expanded,
|
||||
expanded: true,
|
||||
});
|
||||
ev.preventDefault();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue