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

Get variable name right

This commit is contained in:
David Baker
2016-12-22 15:26:08 +00:00
parent 98b22460ec
commit a6fdbda011

View File

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