mirror of
https://github.com/langgenius/dify.git
synced 2026-01-25 21:22:16 +08:00
fix: remove unnecessary console log and add rounded corners to Icon in QuotaPanel
This commit is contained in:
parent
8b9a9d0574
commit
dac13ae604
@ -77,7 +77,7 @@ const QuotaPanel: FC<QuotaPanelProps> = ({
|
||||
}
|
||||
}
|
||||
}, [providers, isShowInstallModal, hideInstallFromMarketplace])
|
||||
console.log('isLoading', isLoading)
|
||||
|
||||
if (isLoading) {
|
||||
return (
|
||||
<div className='my-2 flex min-h-[72px] items-center justify-center rounded-xl border-[0.5px] border-components-panel-border bg-third-party-model-bg-default shadow-xs'>
|
||||
@ -119,7 +119,7 @@ const QuotaPanel: FC<QuotaPanelProps> = ({
|
||||
className={cn('relative h-6 w-6', !isAvailable && 'cursor-pointer hover:opacity-80')}
|
||||
onClick={() => handleIconClick(key, isAvailable)}
|
||||
>
|
||||
<Icon className='h-6 w-6' />
|
||||
<Icon className='h-6 w-6 rounded-lg' />
|
||||
{!isAvailable && (
|
||||
<div className='absolute inset-0 rounded-lg border-[0.5px] border-components-panel-border-subtle bg-background-default-dodge opacity-30' />
|
||||
)}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user