Skip to content

Commit

Permalink
Reset iterations between requests
Browse files Browse the repository at this point in the history
  • Loading branch information
aaroncox committed Mar 10, 2023
1 parent 04de167 commit 919680a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ export class TransactPluginAutoCorrect extends AbstractTransactPlugin {
// Reset internal state between transactions
this.price = null
this.resources = []
this.iterations = 0

// Retrieve translation helper from the UI, passing the app ID
const t = context.ui.getTranslate(this.id)
Expand Down

0 comments on commit 919680a

Please sign in to comment.