Skip to content

Commit

Permalink
chore: cleanup more
Browse files Browse the repository at this point in the history
  • Loading branch information
hi-ogawa committed Oct 30, 2024
1 parent c174615 commit 3dcf25d
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions packages/snapshot/src/port/state.ts
Original file line number Diff line number Diff line change
Expand Up @@ -178,18 +178,6 @@ export default class SnapshotState {
}
}

// TODO: not used. remove it
clear(): void {
this._snapshotData = { ...this._initialData }
// this._inlineSnapshots = []
this._counters = new Map()
this.added = 0
this.matched = 0
this.unmatched = 0
this.updated = 0
this._dirty = false
}

async save(): Promise<SaveStatus> {
const hasExternalSnapshots = Object.keys(this._snapshotData).length
const hasInlineSnapshots = this._inlineSnapshots.length
Expand Down

0 comments on commit 3dcf25d

Please sign in to comment.