Skip to content

Commit 1c51188

Browse files
author
bieshan
committed
test: just test :neckbeard:
1 parent c4292e9 commit 1c51188

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

pages/index.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,8 @@ const Home = () => {
5050
recognizerRef.current.interimResults = true;
5151
recognizerRef.current.continuous = true;
5252
recognizerRef.current.onend = () => {
53-
recognizerRef.current.start();
54-
if (detecting) {
55-
recognizerRef.current.stop();
53+
if (android && detecting) {
54+
recognizerRef.current.start();
5655
};
5756
};
5857
recognizerRef.current.onresult = event => {

0 commit comments

Comments
 (0)