Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] the isLoading property of the useSpeechSynthes hook is not working #39

Open
dayuy opened this issue Oct 11, 2024 · 1 comment · May be fixed by #40
Open

[Bug] the isLoading property of the useSpeechSynthes hook is not working #39

dayuy opened this issue Oct 11, 2024 · 1 comment · May be fixed by #40
Labels

Comments

@dayuy
Copy link

dayuy commented Oct 11, 2024

💻 系统环境 | Operating System

macOS

🌐 浏览器 | Browser

Chrome

🐛 问题描述 | Bug Description

The isLoading property of the useSpeechSynthes hook doesn't update when i call start().

🚦 期望结果 | Expected Behavior

The isLoading property of the useSpeechSynthes is working.

📷 复现步骤 | Recurrence Steps

import { useSpeechSynthes } from '@lobehub/tts/react';

const { isLoading, start, stop } = useSpeechSynthes(item.content, { voice: SpeechSynthesisTTS.voiceList['zh-CN'][0]});

📝 补充信息 | Additional Information

No response

@lobehubbot
Copy link
Member

👀 @dayuy
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.
Please make sure you have given us as much context as possible.
非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants