@@ -92,7 +92,7 @@ const VoiceParamConfig = ({
}}
>
-
{languageItem?.name ? t(`common.voice.language.${languageItem?.value.replace('-', '')}`) : localLanguagePlaceholder}
@@ -103,7 +103,7 @@ const VoiceParamConfig = ({
aria-hidden="true"
/>
-
+
-
{languages.map((item: Item) => (
-
`relative cursor-pointer select-none py-2 pl-3 pr-9 rounded-lg hover:bg-gray-100 text-gray-700 ${active ? 'bg-gray-100' : ''
@@ -133,14 +133,14 @@ const VoiceParamConfig = ({
'absolute inset-y-0 right-0 flex items-center pr-4 text-gray-700',
)}
>
-
+
)}
>
)}
-
+
))}
-
+
@@ -160,7 +160,7 @@ const VoiceParamConfig = ({
}}
>
-
{voiceItem?.name ?? localVoicePlaceholder}
@@ -170,7 +170,7 @@ const VoiceParamConfig = ({
aria-hidden="true"
/>
-
+
-
{voiceItems?.map((item: Item) => (
-
`relative cursor-pointer select-none py-2 pl-3 pr-9 rounded-lg hover:bg-gray-100 text-gray-700 ${active ? 'bg-gray-100' : ''
@@ -199,14 +199,14 @@ const VoiceParamConfig = ({
'absolute inset-y-0 right-0 flex items-center pr-4 text-gray-700',
)}
>
-
+
)}
>
)}
-
+
))}
-
+
diff --git a/web/app/components/base/fullscreen-modal/index.tsx b/web/app/components/base/fullscreen-modal/index.tsx
index 752a91cecc..9a76dfa62b 100644
--- a/web/app/components/base/fullscreen-modal/index.tsx
+++ b/web/app/components/base/fullscreen-modal/index.tsx
@@ -1,4 +1,4 @@
-import { Dialog, Transition } from '@headlessui/react'
+import { Dialog, DialogPanel, Transition } from '@headlessui/react'
import { Fragment } from 'react'
import { RiCloseLargeLine } from '@remixicon/react'
import classNames from '@/utils/classnames'
@@ -27,7 +27,7 @@ export default function FullScreenModal({
return (
diff --git a/web/app/components/base/modal/index.tsx b/web/app/components/base/modal/index.tsx
index a659ccaac7..4d586add57 100644
--- a/web/app/components/base/modal/index.tsx
+++ b/web/app/components/base/modal/index.tsx
@@ -1,4 +1,4 @@
-import { Dialog, Transition } from '@headlessui/react'
+import { Dialog, DialogPanel, DialogTitle, Transition } from '@headlessui/react'
import { Fragment } from 'react'
import { RiCloseLine } from '@remixicon/react'
import classNames from '@/utils/classnames'
@@ -30,7 +30,7 @@ export default function Modal({
return (