rename TagSelect.css

This commit is contained in:
Дмитрий Савенко 2023-01-20 17:06:25 +03:00
parent 3476ef367e
commit 7c87fc7e88

View File

@ -43,20 +43,20 @@ const TagSelect = () => {
return (
<>
<section className={style.search}>
<section className={style?.search}>
<div className='row'>
<div className='col-12'>
<h2 className={style.search__title}>
<h2 className={style?.search__title}>
Найти специалиста по навыкам
</h2>
<div className={style.search__box}>
<div className={style?.search__box}>
<Select
value={itemsArr}
onChange={(value) => {console.log(value) ;return dispatch(selectedItems(value))}}
isMulti
name='tags'
className={style.select}
classNamePrefix={style.select}
className={style?.select}
classNamePrefix={style?.select}
options={
tagsArr &&
tagsArr.flat().map((item) => {
@ -71,7 +71,7 @@ const TagSelect = () => {
<button
onClick={() => handleSubmit({dispatch, setSearchLoading})}
type='submit'
className={style.search__submit}
className={style?.search__submit}
>
{searchLoading ? <Loader width={30} height={30}/> : 'Поиск'}
</button>