You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-14 19:02:33 +03: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