Remove unnecessary line

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner 2020-12-22 13:26:53 +01:00
parent fa99c2e8c5
commit a7ca1d0856

View file

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