mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-06 14:38:21 +00:00
Simplify expression
This commit is contained in:
@@ -154,7 +154,7 @@ export default class Dropdown extends React.Component {
|
|||||||
_onInputClick(ev) {
|
_onInputClick(ev) {
|
||||||
if (!this.state.expanded) {
|
if (!this.state.expanded) {
|
||||||
this.setState({
|
this.setState({
|
||||||
expanded: !this.state.expanded,
|
expanded: true,
|
||||||
});
|
});
|
||||||
ev.preventDefault();
|
ev.preventDefault();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user