Remove unnecessary line

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
pull/21833/head
Šimon Brandner 2020-12-22 13:26:53 +01:00
parent fa99c2e8c5
commit a7ca1d0856
1 changed files with 0 additions and 1 deletions

View File

@ -62,7 +62,6 @@ export default class RoomProfileSettings extends React.Component {
}
_uploadAvatar = () => {
if (!this.state.canSetAvatar) return;
this._avatarUpload.current.click();
};