Skip to content

Commit

Permalink
fix: statusFind deviceNotConnected
Browse files Browse the repository at this point in the history
  • Loading branch information
jonalan7 committed Apr 7, 2021
1 parent 9a6db8b commit 46d39f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controllers/initializer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ export async function create(
client.onStateChange((state) => {
if (state === SocketState.PAIRING) {
const device = page.evaluate(() => {
if (document.querySelectorAll('#startup')) {
if (document.querySelectorAll('#startup').length) {
return true;
} else {
return false;
Expand Down

0 comments on commit 46d39f4

Please sign in to comment.