Skip to content

Commit

Permalink
Init this.fields to prevent bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
adearriba committed Apr 29, 2021
1 parent e58ecfd commit 764a7c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Checkout.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export default class Checkout {

this.lastStep = this._getLastStep();
this.currentStep = this._getCurrentStep();
this.fields = [];
this.fields = this._getFields();
}

Expand Down

0 comments on commit 764a7c8

Please sign in to comment.