1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-10 09:22:25 +03:00

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();
};