Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 32818af

Browse files
author
Luke Barnard
committed
Simplify expression
1 parent ee64f4a commit 32818af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/views/elements/Dropdown.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ export default class Dropdown extends React.Component {
154154
_onInputClick(ev) {
155155
if (!this.state.expanded) {
156156
this.setState({
157-
expanded: !this.state.expanded,
157+
expanded: true,
158158
});
159159
ev.preventDefault();
160160
}

0 commit comments

Comments
 (0)