fix: bing search response filter (#2519)

This commit is contained in:
Yeuoly
2024-02-22 13:06:55 +08:00
committed by GitHub
parent 1ecbd95adf
commit d8ab4474b4
6 changed files with 170 additions and 23 deletions

View File

@@ -116,7 +116,7 @@ const SettingBuiltInTool: FC<Props> = ({
</div>
)
const setttingUI = (
const settingUI = (
<Form
value={tempSetting}
onChange={setTempSetting}
@@ -174,7 +174,7 @@ const SettingBuiltInTool: FC<Props> = ({
</div>
: (<div className='flex flex-col h-full'>
<div className='grow h-0 overflow-y-auto px-6'>
{isInfoActive ? infoUI : setttingUI}
{isInfoActive ? infoUI : settingUI}
</div>
{!readonly && !isInfoActive && (
<div className='mt-2 shrink-0 flex justify-end py-4 px-6 space-x-2 rounded-b-[10px] bg-gray-50 border-t border-black/5'>