mirror of
https://github.com/langgenius/dify.git
synced 2026-04-25 13:16:16 +08:00
feat(web): integrate CreditsCoin icon in PopupItem for enhanced UI
- Replaced the existing credits coin span with the CreditsCoin component for improved visual consistency. - Updated imports to include the new CreditsCoin icon component.
This commit is contained in:
@ -6,6 +6,7 @@ import type {
|
||||
} from '../declarations'
|
||||
import { useCallback, useState } from 'react'
|
||||
import { useTranslation } from 'react-i18next'
|
||||
import { CreditsCoin } from '@/app/components/base/icons/src/vender/line/financeAndECommerce'
|
||||
import Tooltip from '@/app/components/base/tooltip'
|
||||
import {
|
||||
Popover,
|
||||
@ -119,7 +120,7 @@ const PopupItem: FC<PopupItemProps> = ({
|
||||
hasCredits
|
||||
? (
|
||||
<>
|
||||
<span className="i-custom-vender-line-financeandecommerce-credits-coin h-3 w-3" />
|
||||
<CreditsCoin className="h-3 w-3" />
|
||||
<span className="ml-1">{t('modelProvider.selector.aiCredits', { ns: 'common' })}</span>
|
||||
</>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user