mirror of
https://github.com/langgenius/dify.git
synced 2026-04-28 11:56:55 +08:00
chore: listoptions active
This commit is contained in:
parent
2649f9f56f
commit
087a106fbe
@ -116,10 +116,7 @@ const VoiceParamConfig = ({
|
|||||||
{languages.map((item: Item) => (
|
{languages.map((item: Item) => (
|
||||||
<ListboxOption
|
<ListboxOption
|
||||||
key={item.value}
|
key={item.value}
|
||||||
className={({ active }) =>
|
className='relative cursor-pointer select-none py-2 pl-3 pr-9 rounded-lg hover:bg-gray-100 text-gray-700 data-[active]:bg-gray-100'
|
||||||
`relative cursor-pointer select-none py-2 pl-3 pr-9 rounded-lg hover:bg-gray-100 text-gray-700 ${active ? 'bg-gray-100' : ''
|
|
||||||
}`
|
|
||||||
}
|
|
||||||
value={item}
|
value={item}
|
||||||
disabled={false}
|
disabled={false}
|
||||||
>
|
>
|
||||||
@ -183,10 +180,7 @@ const VoiceParamConfig = ({
|
|||||||
{voiceItems?.map((item: Item) => (
|
{voiceItems?.map((item: Item) => (
|
||||||
<ListboxOption
|
<ListboxOption
|
||||||
key={item.value}
|
key={item.value}
|
||||||
className={({ active }) =>
|
className='relative cursor-pointer select-none py-2 pl-3 pr-9 rounded-lg hover:bg-gray-100 text-gray-700 data-[active]:bg-gray-100'
|
||||||
`relative cursor-pointer select-none py-2 pl-3 pr-9 rounded-lg hover:bg-gray-100 text-gray-700 ${active ? 'bg-gray-100' : ''
|
|
||||||
}`
|
|
||||||
}
|
|
||||||
value={item}
|
value={item}
|
||||||
disabled={false}
|
disabled={false}
|
||||||
>
|
>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user