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 {
onChange = value => {
const { onSearch, onChange } = this.props;
this.setState({ value });
if (onSearch){
if (onSearch) {
onSearch(value);
}
if (onChange){
if (onChange) {
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