lint: fix sonarjs/no-dead-store issues (#23653)
This commit is contained in:
parent
79a3c1618f
commit
ea502d36a9
19 changed files with 17 additions and 76 deletions
|
|
@ -55,8 +55,6 @@ const SettingsModal: FC<SettingsModalProps> = ({
|
|||
const { data: embeddingsModelList } = useModelList(ModelTypeEnum.textEmbedding)
|
||||
const {
|
||||
modelList: rerankModelList,
|
||||
defaultModel: rerankDefaultModel,
|
||||
currentModel: isRerankDefaultModelValid,
|
||||
} = useModelListAndDefaultModelAndCurrentProviderAndModel(ModelTypeEnum.rerank)
|
||||
const { t } = useTranslation()
|
||||
const docLink = useDocLink()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue