Commit 419498bc authored by Sean Bao's avatar Sean Bao Committed by ι™ˆεΈ…

Add param to onChange event

parent cd19fe85
......@@ -45,7 +45,7 @@ export default class HeaderSearch extends PureComponent {
this.setState({ value });
const { onChange } = this.props;
if (onChange) {
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