Fix Room Custom Sounds regression
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
4885615a40
commit
46058a17f8
1 changed files with 2 additions and 2 deletions
|
@ -28,6 +28,8 @@ export default class NotificationsSettingsTab extends React.Component {
|
|||
roomId: PropTypes.string.isRequired,
|
||||
};
|
||||
|
||||
_soundUpload = createRef();
|
||||
|
||||
constructor() {
|
||||
super();
|
||||
|
||||
|
@ -44,8 +46,6 @@ export default class NotificationsSettingsTab extends React.Component {
|
|||
return;
|
||||
}
|
||||
this.setState({currentSound: soundData.name || soundData.url});
|
||||
|
||||
this._soundUpload = createRef();
|
||||
}
|
||||
|
||||
async _triggerUploader(e) {
|
||||
|
|
Loading…
Reference in a new issue