mirror of
https://github.com/langgenius/dify.git
synced 2026-04-29 20:48:01 +08:00
fix: use StopCircle icon in variable inspect listening panel
This commit is contained in:
parent
937a58d0dd
commit
9643fa1c9a
@ -1,9 +1,9 @@
|
|||||||
import type { FC } from 'react'
|
import type { FC } from 'react'
|
||||||
import { useTranslation } from 'react-i18next'
|
import { useTranslation } from 'react-i18next'
|
||||||
import { RiStopLargeLine } from '@remixicon/react'
|
|
||||||
import Button from '@/app/components/base/button'
|
import Button from '@/app/components/base/button'
|
||||||
import BlockIcon from '@/app/components/workflow/block-icon'
|
import BlockIcon from '@/app/components/workflow/block-icon'
|
||||||
import { BlockEnum } from '@/app/components/workflow/types'
|
import { BlockEnum } from '@/app/components/workflow/types'
|
||||||
|
import { StopCircle } from '@/app/components/base/icons/src/vender/line/mediaAndDevices'
|
||||||
|
|
||||||
export type ListeningProps = {
|
export type ListeningProps = {
|
||||||
onStop: () => void
|
onStop: () => void
|
||||||
@ -32,7 +32,7 @@ const Listening: FC<ListeningProps> = ({
|
|||||||
variant='primary'
|
variant='primary'
|
||||||
onClick={onStop}
|
onClick={onStop}
|
||||||
>
|
>
|
||||||
<RiStopLargeLine className='mr-1 size-4' />
|
<StopCircle className='mr-1 size-4' />
|
||||||
{t('workflow.debug.variableInspect.listening.stopButton')}
|
{t('workflow.debug.variableInspect.listening.stopButton')}
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user