remove whitespaces

This commit is contained in:
afc163 2016-12-11 14:05:19 +08:00
parent f83b2c111e
commit 3af1821bde

View File

@ -21,13 +21,13 @@ class ActionButton extends React.Component<ActionButtonProps, any> {
loading: false,
};
}
componentDidMount () {
componentDidMount() {
if (this.props.autoFocus) {
const $this = ReactDOM.findDOMNode(this) as HTMLInputElement;
this.timeoutId = setTimeout(() => $this.focus());
}
}
componentWillUnmount () {
componentWillUnmount() {
clearTimeout(this.timeoutId);
}
onClick = () => {