We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7431a6 commit 9714932Copy full SHA for 9714932
pages/index.js
@@ -66,9 +66,6 @@ const Home = () => {
66
const transcript = result[0].transcript;
67
setTranscript(transcript);
68
if (result.isFinal) {
69
- if (transcript == "") {
70
- return;
71
- }
72
if (tagValues.some(value => transcript.includes(value))) {
73
// NOTE: ユーザーが効果音を追加しなければデフォルトを鳴らす
74
(userMusic || music).play();
@@ -84,7 +81,6 @@ const Home = () => {
84
81
});
85
82
// 文章確定したら候補を削除
86
83
setTranscript("");
87
88
}
89
90
};
0 commit comments