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