lint: fix issue of no-unused-vars (#23375)

This commit is contained in:
Matri Qi 2025-08-05 11:12:30 +08:00 • committed by GitHub
commit 75f722a959
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 23 additions and 28 deletions

View file

@ -82,7 +82,7 @@ const Panel: FC<NodePanelProps<LLMNodeType>> = ({
Toast.notify({ type: 'warning', message: `${t('common.modelProvider.parametersInvalidRemoved')}: ${keys.map(k => `${k} (${removedDetails[k]})`).join(', ')}` })
handleCompletionParamsChange(filtered)
}
catch (e) {
catch {
Toast.notify({ type: 'error', message: t('common.error') })
handleCompletionParamsChange({})
}