refactor: remove empty search placeholder from tool selector

This commit is contained in:
lyzno1 2025-10-16 17:39:35 +08:00
parent 548db29a47
commit 22f6c23780
No known key found for this signature in database
1 changed files with 0 additions and 5 deletions

View File

@ -100,11 +100,6 @@ const Blocks = ({
return (
<div className={classNames('max-w-[100%] p-1', className)}>
{
!tools.length && hasSearchText && (
<div className='mt-2 flex h-[22px] items-center px-3 text-xs font-medium text-text-secondary'>{t('workflow.tabs.noResult')}</div>
)
}
{!tools.length && !hasSearchText && (
<div className='py-10'>
<Empty type={toolType!} isAgent={isAgent} />