aboutsummaryrefslogtreecommitdiff
path: root/src/settings/components/form/SearchForm.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/settings/components/form/SearchForm.jsx')
-rw-r--r--src/settings/components/form/SearchForm.jsx5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/settings/components/form/SearchForm.jsx b/src/settings/components/form/SearchForm.jsx
index 2e070fc..d2f2d48 100644
--- a/src/settings/components/form/SearchForm.jsx
+++ b/src/settings/components/form/SearchForm.jsx
@@ -44,10 +44,6 @@ class SearchForm extends React.Component {
}
bindValue(e) {
- if (!this.props.onChange) {
- return;
- }
-
let value = this.props.value;
let name = e.target.name;
let index = e.target.getAttribute('data-index');
@@ -83,6 +79,7 @@ SearchForm.propTypes = {
SearchForm.defaultProps = {
value: { default: '', engines: []},
+ onChange: () => {},
};
export default SearchForm;