Unused variables / imports
							parent
							
								
									75770f7a4a
								
							
						
					
					
						commit
						54fb1b5302
					
				| 
						 | 
				
			
			@ -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 New Issue