Skip to content

Commit

Permalink
fix lint 3
Browse files Browse the repository at this point in the history
  • Loading branch information
lucvysk committed Apr 13, 2023
1 parent f500e0c commit 60bffdf
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions checkout-ui-custom/src/_js/_customAddressForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,7 @@ class fnsCustomAddressForm {
$('.vcustom--vtex-omnishipping-1-x-address #v-custom-ship-street').val(
'number' in this.addressrules
? street
: formattedStreet
? formattedStreet
: street
: formattedStreet || street
)
$('.vcustom--vtex-omnishipping-1-x-address #ship-complement').val(
complement
Expand All @@ -111,9 +109,7 @@ class fnsCustomAddressForm {
'data-street',
'number' in this.addressrules
? street
: formattedStreet
? formattedStreet
: street
: formattedStreet || street
)
$('.vcustom--vtex-omnishipping-1-x-address #v-custom-ship-street').attr(
'data-number',
Expand Down

0 comments on commit 60bffdf

Please sign in to comment.