Skip to content

Commit

Permalink
feat: remove leftover log when emitCurrentState is true
Browse files Browse the repository at this point in the history
  • Loading branch information
CDFN committed Aug 8, 2024
1 parent 1814f4a commit 79f8d18
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 79f8d18

Please sign in to comment.