Skip to content

Commit

Permalink
feat: remove leftover log when emitCurrentState is true (#1233)
Browse files Browse the repository at this point in the history
  • Loading branch information
CDFN authored Aug 27, 2024
1 parent 99b33b7 commit 2a966d8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/BleManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,6 @@ export class BleManager {
if (emitCurrentState) {
var cancelled = false
this._callPromise(this.state()).then(currentState => {
console.log(currentState)
if (!cancelled) {
listener(currentState)
}
Expand Down

0 comments on commit 2a966d8

Please sign in to comment.