Chore/cleanup warnings (#17974)
This commit is contained in:
@@ -88,7 +88,7 @@ const SettingBuiltInTool: FC<Props> = ({
|
||||
setTempSetting(addDefaultValue(setting, formSchemas))
|
||||
}
|
||||
}
|
||||
catch (e) { }
|
||||
catch { }
|
||||
setIsLoading(false)
|
||||
})()
|
||||
}, [collection?.name, collection?.id, collection?.type])
|
||||
|
||||
@@ -150,7 +150,7 @@ const SettingsModal: FC<SettingsModalProps> = ({
|
||||
retrieval_model_dict: retrievalConfig,
|
||||
})
|
||||
}
|
||||
catch (e) {
|
||||
catch {
|
||||
notify({ type: 'error', message: t('common.actionMsg.modifiedUnsuccessfully') })
|
||||
}
|
||||
finally {
|
||||
|
||||
Reference in New Issue
Block a user