diff --git a/web-app/src/routes/hub/index.tsx b/web-app/src/routes/hub/index.tsx index a4edad9fe..081009fcd 100644 --- a/web-app/src/routes/hub/index.tsx +++ b/web-app/src/routes/hub/index.tsx @@ -394,13 +394,13 @@ function Hub() { ) } }, [ + localDownloadingModels, downloadProcesses, llamaProvider?.models, isRecommendedModel, - downloadButtonRef, - localDownloadingModels, - addLocalDownloadingModel, t, + addLocalDownloadingModel, + huggingfaceToken, handleUseModel, ]) @@ -477,9 +477,9 @@ function Hub() { const isLastStep = currentStepIndex === steps.length - 1 const renderFilter = () => { - if (searchValue.length === 0) - return ( - <> + return ( + <> + {searchValue.length === 0 && ( @@ -504,17 +504,18 @@ function Hub() { ))} -
- - - {t('hub:downloaded')} - -
- - ) + )} +
+ + + {t('hub:downloaded')} + +
+ + ) } return (