| const { isMobile } = useIsMobile(); | const { isMobile } = useIsMobile(); | ||||
| const { t } = useTranslation(); | const { t } = useTranslation(); | ||||
| const history = useHistory(); | const history = useHistory(); | ||||
| console.log(history); | |||||
| const handleClickCategory = () => { | const handleClickCategory = () => { | ||||
| props?.offers?.filters?.locations.clear(); | props?.offers?.filters?.locations.clear(); |
| onBlur={handleBlurSearch} | onBlur={handleBlurSearch} | ||||
| ref={searchRef} | ref={searchRef} | ||||
| className={props.className} | className={props.className} | ||||
| onChange={handleSearch} | |||||
| /> | /> | ||||
| ); | ); | ||||
| }; | }; |