From 7b638ed2b4651b93ad0dfbc9c977b5efe57ca5d0 Mon Sep 17 00:00:00 2001 From: Torresmorah Date: Wed, 23 Nov 2022 11:55:45 -0600 Subject: [PATCH] refactor(webapp): remove unnecessary div --- webapp/src/components/SearchBar/index.js | 86 +++++++++++------------- 1 file changed, 41 insertions(+), 45 deletions(-) diff --git a/webapp/src/components/SearchBar/index.js b/webapp/src/components/SearchBar/index.js index f68e5a90..7fffd918 100644 --- a/webapp/src/components/SearchBar/index.js +++ b/webapp/src/components/SearchBar/index.js @@ -63,51 +63,47 @@ const SearchBar = ({ }, [debouncedFilter, onChange]) return ( -
-
- - - - {`${t('title')}:`} - - - - - - - ), - }} - onKeyDown={handleOnKeyDown} - onChange={handleOnChange('owner')} - /> -
- {chips.map((chip, index) => ( - handleOnClickChip(chip.name)} - className={clsx({ - [classes.selected]: selected === chip.name, - })} - /> - ))} -
-
-
-
-
+ <> + + + {`${t('title')}:`} + + + + + + ), + }} + onKeyDown={handleOnKeyDown} + onChange={handleOnChange('owner')} + /> +
+ {chips.map((chip, index) => ( + handleOnClickChip(chip.name)} + className={clsx({ + [classes.selected]: selected === chip.name, + })} + /> + ))} +
+
+
+ ) }