Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

@dayuy

Description

@dayuy

๐Ÿ’ป ็ณป็ปŸ็Žฏๅขƒ | 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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions