feat: style match

This commit is contained in:
Wentao Lyu 2023-04-05 03:07:46 +08:00
parent 9f1ded7f75
commit 579b53de29
6 changed files with 53 additions and 36 deletions

View file

@ -4,7 +4,7 @@ import { cn } from '~/utils';
import { Button } from '../../ui/Button.tsx';
import { Settings2 } from 'lucide-react';
import { Tabs, TabsList, TabsTrigger } from '../../ui/Tabs.tsx';
import SelectDropDown from '../../ui/SelectDropDown';
import SelectDropdown from '../../ui/SelectDropdown';
import Settings from '../../Endpoints/BingAI/Settings.jsx';
import EndpointOptionsPopover from '../../Endpoints/EndpointOptionsPopover';
import SaveAsPresetDialog from '../../Endpoints/SaveAsPresetDialog';
@ -68,7 +68,7 @@ function BingAIOptions() {
(!advancedMode ? ' show' : '')
}
>
<SelectDropDown
<SelectDropdown
title="Mode"
value={jailbreak ? 'Sydney' : 'BingAI'}
setValue={value => setOption('jailbreak')(value === 'Sydney')}