mirror of
https://github.com/wassname/talk.git
synced 2026-08-12 12:30:39 +08:00
fix: lint
This commit is contained in:
@@ -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 = () => {
|
||||
|
||||
Reference in New Issue
Block a user