Remove extra spaces (#13062)

This commit is contained in:
ztplz 2018-11-10 00:17:02 +08:00 committed by 诸岳
parent 20c0590db1
commit f27653158d

View File

@ -69,7 +69,7 @@ export default class Search extends React.Component<SearchProps, any> {
} }
render() { render() {
const { className, prefixCls, inputPrefixCls, size, suffix, enterButton, ...others } = this.props; const { className, prefixCls, inputPrefixCls, size, suffix, enterButton, ...others } = this.props;
delete (others as any).onSearch; delete (others as any).onSearch;
const buttonOrIcon = this.getButtonOrIcon(); const buttonOrIcon = this.getButtonOrIcon();
const searchSuffix = suffix ? [suffix, buttonOrIcon] : buttonOrIcon; const searchSuffix = suffix ? [suffix, buttonOrIcon] : buttonOrIcon;