Simplify expression

This commit is contained in:
Luke Barnard 2017-05-18 17:08:26 +01:00
parent ee64f4a8dd
commit 32818aff4f

View file

@ -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();
}