1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-31 13:44:28 +03:00

Remove redundant setState

Duplicated in `finally`
This commit is contained in:
David Baker
2016-08-10 18:28:20 +01:00
parent 54b3638a85
commit 4a6a9bd95b

View File

@ -263,9 +263,6 @@ module.exports = React.createClass({
});
}
}
self.setState({
inviting: false
});
}).finally(() => {
self.setState({
inviting: false