mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 03:29:39 +08:00
remove whitespaces
This commit is contained in:
parent
f83b2c111e
commit
3af1821bde
@ -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 = () => {
|
||||
|
Loading…
Reference in New Issue
Block a user