mirror of
https://github.com/langgenius/dify.git
synced 2026-05-03 00:48:04 +08:00
[autofix.ci] apply automated fixes
This commit is contained in:
@ -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>
|
||||
|
||||
Reference in New Issue
Block a user