feat: hide filters button and hide testing history (#149)

* feat: hide testing history

* feat: hide filters button
This commit is contained in:
balibabu
2024-03-25 16:39:28 +08:00
committed by GitHub
parent 74419e5f0c
commit 0629847c09
2 changed files with 5 additions and 17 deletions

View File

@ -1,4 +1,3 @@
import { ReactComponent as FilterIcon } from '@/assets/filter.svg';
import ModalManager from '@/components/modal-manager';
import { useFetchKnowledgeList } from '@/hooks/knowledgeHook';
import { useSelectUserInfo } from '@/hooks/userSettingHook';
@ -25,9 +24,9 @@ const Knowledge = () => {
</p>
</div>
<Space size={'large'}>
<Button icon={<FilterIcon />} className={styles.filterButton}>
{/* <Button icon={<FilterIcon />} className={styles.filterButton}>
Filters
</Button>
</Button> */}
<ModalManager>
{({ visible, hideModal, showModal }) => (
<>