chore: fix search suggestion
This commit is contained in:
parent
1ceedf1cfe
commit
c23d1b6bbe
@ -8,7 +8,7 @@ const ExploreModelContainer: React.FC = () => (
|
||||
<HeaderTitle title="Explore Models" />
|
||||
<SearchBar
|
||||
type={SearchType.Model}
|
||||
placeholder="Owner name like TheBloke, etc.."
|
||||
placeholder="Owner name like TheBloke, bhlim etc.."
|
||||
/>
|
||||
<div className="flex flex-1 gap-x-10 mt-9 overflow-hidden">
|
||||
<ExploreModelFilter />
|
||||
|
||||
@ -17,6 +17,9 @@ const ExploreModelList: React.FC = () => {
|
||||
});
|
||||
|
||||
useEffect(() => {
|
||||
if (modelList.length === 0 && modelSearch.length > 0) {
|
||||
setLoadMoreInProress(true);
|
||||
}
|
||||
getHuggingFaceModel(modelSearch);
|
||||
}, [modelSearch]);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user