1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-08 21:42:24 +03:00

Ensure deleting is set to false.

This commit is contained in:
Richard Lewis
2018-03-29 16:56:25 +01:00
parent 35fcb2c9ab
commit aefccb134c

View File

@@ -330,6 +330,7 @@ export default class AppTile extends React.Component {
this.props.id, this.props.id,
).catch((e) => { ).catch((e) => {
console.error('Failed to delete widget', e); console.error('Failed to delete widget', e);
}).finally(() => {
this.setState({deleting: false}); this.setState({deleting: false});
}); });
}, },