Skip to content

Commit

Permalink
fix: logic :neckbeard:
Browse files Browse the repository at this point in the history
  • Loading branch information
bieshan committed Jan 5, 2021
1 parent 9714932 commit 265b71a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,6 @@ const Home = () => {
};
recognizerRef.current.onresult = event => {
[...event.results].slice(event.resultIndex).forEach(result => {
if (android && alertOpen) {
return;
}
const transcript = result[0].transcript;
setTranscript(transcript);
if (result.isFinal) {
Expand Down

0 comments on commit 265b71a

Please sign in to comment.