fix: lint

This commit is contained in:
Chi Vinh Le
2018-11-08 16:04:16 +00:00
parent 4a165c0972
commit f13654b297
@@ -1,5 +1,4 @@
import React from 'react';
import { findDOMNode } from 'react-dom';
import PropTypes from 'prop-types';
import { compose, gql } from 'react-apollo';
@@ -25,12 +24,14 @@ class AddEmailAddressDialog extends React.Component {
componentDidMount() {
this.props.startAttach();
document.body.style.minHeight =
`${document.getElementById('talk-plugin-local-auth-email-dialog').clientHeight}px`
document.body.style.minHeight = `${
document.getElementById('talk-plugin-local-auth-email-dialog')
.clientHeight
}px`;
}
componentWillUnmount() {
document.body.style.removeProperty("min-height");
document.body.style.removeProperty('min-height');
}
handleDone = () => {