fix: config not exists (#2513)

This commit is contained in:
crazywoola 2024-02-21 19:27:38 +08:00 committed by GitHub
parent 3505cbe05c
commit cad6e6624f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -74,7 +74,7 @@ const Operation: FC<OperationProps> = ({
)
}
{(!isOpeningStatement && config?.text_to_speech.enabled) && (
{(!isOpeningStatement && config?.text_to_speech?.enabled) && (
<AudioBtn
value={content}
className='hidden group-hover:block'