diff options
Diffstat (limited to 'src/client/react/components/presentational')
-rw-r--r-- | src/client/react/components/presentational/Search.jsx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/client/react/components/presentational/Search.jsx b/src/client/react/components/presentational/Search.jsx index 78beb56..fc8ca98 100644 --- a/src/client/react/components/presentational/Search.jsx +++ b/src/client/react/components/presentational/Search.jsx @@ -35,7 +35,6 @@ IconFromUserType.defaultProps = { userType: null, }; - const Result = ({ user }) => ( <div className="search__result"> <div className="search__icon-wrapper"><IconFromUserType userType={user.type} /></div> @@ -61,6 +60,7 @@ const Search = ({ {/* Show the icon from the exact match if there is an exact match, otherwise show the search icon. */} <div className="search__icon-wrapper"><IconFromUserType userType={exactMatch ? exactMatch.type : null} /></div> <input + id="search__input" onChange={onInputChange} value={value} placeholder="Zoeken" @@ -88,5 +88,4 @@ Search.defaultProps = { exactMatch: null, }; - export default Search; |