Unverified Commit d2f2e1c8 authored by 陈帅's avatar 陈帅 Committed by GitHub

prettier HeaderSearch (#3308)

parent 31d63bc7
...@@ -65,10 +65,10 @@ export default class HeaderSearch extends PureComponent { ...@@ -65,10 +65,10 @@ export default class HeaderSearch extends PureComponent {
onChange = value => { onChange = value => {
const { onSearch, onChange } = this.props; const { onSearch, onChange } = this.props;
this.setState({ value }); this.setState({ value });
if (onSearch){ if (onSearch) {
onSearch(value); onSearch(value);
} }
if (onChange){ if (onChange) {
onChange(value); onChange(value);
} }
}; };
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment