refactor(web): replace remixicon imports with Tailwind CSS icons in system-model-selector

This commit is contained in:
yyh
2026-03-04 17:45:41 +08:00
parent 621d0fb2c9
commit cad6d94491

View File

@ -3,7 +3,6 @@ import type {
DefaultModel,
DefaultModelResponse,
} from '../declarations'
import { RiEqualizer2Line, RiLoader2Line } from '@remixicon/react'
import { useState } from 'react'
import { useTranslation } from 'react-i18next'
import Button from '@/app/components/base/button'
@ -132,8 +131,8 @@ const SystemModel: FC<SystemModelSelectorProps> = ({
disabled={isLoading}
>
{isLoading
? <RiLoader2Line className="mr-1 h-3.5 w-3.5 animate-spin" />
: <RiEqualizer2Line className="mr-1 h-3.5 w-3.5" />}
? <span className="i-ri-loader-2-line mr-1 h-3.5 w-3.5 animate-spin" />
: <span className="i-ri-equalizer-2-line mr-1 h-3.5 w-3.5" />}
{t('modelProvider.systemModelSettings', { ns: 'common' })}
</Button>
</PortalToFollowElemTrigger>