Skip to content

Commit

Permalink
remove logs
Browse files Browse the repository at this point in the history
  • Loading branch information
pythongosssss committed Sep 27, 2024
1 parent 1f6e339 commit 54b95b1
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/scripts/changeTracker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,24 +94,11 @@ export class ChangeTracker {
}

beforeChange() {
console.log(
'[change] increment',
this.changeCount,
'->',
this.changeCount + 1
)
this.changeCount++
}

afterChange() {
console.log(
'[change] decrement',
this.changeCount,
'->',
this.changeCount - 1
)
if (!--this.changeCount) {
console.log('[change] check state')
this.checkState()
}
}
Expand Down

0 comments on commit 54b95b1

Please sign in to comment.