mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-21 22:41:07 +02:00
Remove redundant setState
Duplicated in `finally`
This commit is contained in:
parent
54b3638a85
commit
4a6a9bd95b
@ -263,9 +263,6 @@ module.exports = React.createClass({
|
||||
});
|
||||
}
|
||||
}
|
||||
self.setState({
|
||||
inviting: false
|
||||
});
|
||||
}).finally(() => {
|
||||
self.setState({
|
||||
inviting: false
|
||||
|
Loading…
x
Reference in New Issue
Block a user