[autofix.ci] apply automated fixes

This commit is contained in:
autofix-ci[bot]
2026-01-26 11:24:44 +00:00
committed by GitHub
parent 14828853b1
commit 01a05289e9
688 changed files with 1639 additions and 2998 deletions

View File

@ -1,8 +1,3 @@
import {
RiAddLine,
RiBookOpenLine,
RiCloseLine,
} from '@remixicon/react'
import * as React from 'react'
import { useTranslation } from 'react-i18next'
import ActionButton from '@/app/components/base/action-button'
@ -57,13 +52,13 @@ const ExternalAPIPanel: React.FC<ExternalAPIPanelProps> = ({ onClose }) => {
href={docLink('/use-dify/knowledge/external-knowledge-api')}
target="_blank"
>
<RiBookOpenLine className="h-3 w-3 text-text-accent" />
<span className="i-ri-book-open-line h-3 w-3 text-text-accent" />
<div className="body-xs-regular grow text-text-accent">{t('externalAPIPanelDocumentation', { ns: 'dataset' })}</div>
</a>
</div>
<div className="flex items-center">
<ActionButton onClick={() => onClose()}>
<RiCloseLine className="h-4 w-4 text-text-tertiary" />
<span className="i-ri-close-line h-4 w-4 text-text-tertiary" />
</ActionButton>
</div>
</div>
@ -73,7 +68,7 @@ const ExternalAPIPanel: React.FC<ExternalAPIPanelProps> = ({ onClose }) => {
className="flex items-center justify-center gap-0.5 px-3 py-2"
onClick={handleOpenExternalAPIModal}
>
<RiAddLine className="h-4 w-4 text-components-button-primary-text" />
<span className="i-ri-add-line h-4 w-4 text-components-button-primary-text" />
<div className="system-sm-medium text-components-button-primary-text">{t('createExternalAPI', { ns: 'dataset' })}</div>
</Button>
</div>