Skip to content

Commit

Permalink
fix Eslint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
armine-fliplet committed Aug 29, 2024
1 parent 961a4b3 commit 52da456
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/components/address.js
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ Fliplet.FormBuilder.field('address', {
if (this.addressComponents.length) {
this.assignValuesToSeparateFields(this.addressComponents, this.separateFieldsName);

for (var key in this.selectedFieldOptions) {
for (const key in this.selectedFieldOptions) {
if (this.selectedFieldOptions[key]) {
var matchedField = this.separateFieldsName.find(field => field.key === key);
var fieldName = this.selectedFieldOptions[key];
Expand Down

0 comments on commit 52da456

Please sign in to comment.