Get variable name right

pull/21833/head
David Baker 2016-12-22 15:26:08 +00:00
parent 98b22460ec
commit a6fdbda011
1 changed files with 1 additions and 1 deletions

View File

@ -261,7 +261,7 @@ module.exports = React.createClass({
});
MatrixClientPeg.get().deleteThreePid(threepid.medium, threepid.address).then(() => {
return this._refreshFromServer();
}).catch((e) => {
}).catch((err) => {
const ErrorDialog = sdk.getComponent("dialogs.ErrorDialog");
Modal.createDialog(ErrorDialog, {
title: "Unable to remove contact information",