Unused variables / imports
This commit is contained in:
parent
75770f7a4a
commit
54fb1b5302
2 changed files with 0 additions and 6 deletions
|
@ -22,7 +22,6 @@ import { _t } from "../../../../languageHandler";
|
|||
import MatrixClientPeg from "../../../../MatrixClientPeg";
|
||||
import sdk from '../../../../index';
|
||||
import Modal from '../../../../Modal';
|
||||
import IdentityAuthClient from '../../../../IdentityAuthClient';
|
||||
import AddThreepid from '../../../../AddThreepid';
|
||||
import { getThreepidBindStatus } from '../../../../boundThreepids';
|
||||
|
||||
|
@ -199,9 +198,7 @@ export default class EmailAddresses extends React.Component {
|
|||
|
||||
async componentWillMount() {
|
||||
const client = MatrixClientPeg.get();
|
||||
const userId = client.getUserId();
|
||||
|
||||
const { threepids } = await client.getThreePids();
|
||||
const emails = await getThreepidBindStatus(client, 'email');
|
||||
|
||||
this.setState({ emails });
|
||||
|
|
|
@ -22,7 +22,6 @@ import { _t } from "../../../../languageHandler";
|
|||
import MatrixClientPeg from "../../../../MatrixClientPeg";
|
||||
import sdk from '../../../../index';
|
||||
import Modal from '../../../../Modal';
|
||||
import IdentityAuthClient from '../../../../IdentityAuthClient';
|
||||
import AddThreepid from '../../../../AddThreepid';
|
||||
import { getThreepidBindStatus } from '../../../../boundThreepids';
|
||||
|
||||
|
@ -218,9 +217,7 @@ export default class PhoneNumbers extends React.Component {
|
|||
|
||||
async componentWillMount() {
|
||||
const client = MatrixClientPeg.get();
|
||||
const userId = client.getUserId();
|
||||
|
||||
const { threepids } = await client.getThreePids();
|
||||
const msisdns = await getThreepidBindStatus(client, 'msisdn');
|
||||
|
||||
this.setState({ msisdns });
|
||||
|
|
Loading…
Reference in a new issue