diff --git a/src/components/filter/Filter.jsx b/src/components/filter/Filter.jsx index 722eefc..da3c84f 100644 --- a/src/components/filter/Filter.jsx +++ b/src/components/filter/Filter.jsx @@ -37,7 +37,13 @@ const Filter = ({ currentValue, applyFilter }) => { }; return ( -
+ // using a form to enable adding a custom browser search engine from the filter input +
event.preventDefault()} + >
input && input.focus()} + name="search" className="input" value={currentValue} placeholder="Search everywhere..." @@ -55,7 +62,7 @@ const Filter = ({ currentValue, applyFilter }) => { onChange={handleChange} type="search" /> -
+ ); };