import React from 'react' import './index.module.less' import { searchOptions } from '../../store/searchTypeSelect' import { useStore } from '../../store' import { Select } from 'antd' const SearchTypeSelect: React.FC = () => { const [store, useObserver] = useStore() const { setSearchType } = store.searchTypeSelect return useObserver(() => { const { hideAdvantageFilter } = store.main.config const { searchType } = store.searchTypeSelect if (hideAdvantageFilter) return null return ( ) }) } export default SearchTypeSelect