Skip to content

Commit

Permalink
remove logs
Browse files Browse the repository at this point in the history
  • Loading branch information
pythongosssss authored and huchenlei committed Oct 2, 2024
1 parent ff841fe commit 9afd3ed
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 @@ -102,24 +102,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 9afd3ed

Please sign in to comment.