diff --git a/src/store/index.js b/src/store/index.js index 1d4d2fa4..7ca11af4 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -881,8 +881,8 @@ export const useMainStore = defineStore({ zipCode: customer.address?.zipCode }, emailAddress: contactInfo.emailAddress, - firstName: contactInfo.firstName ?? customer.firstName, - lastName: contactInfo.lastName ?? customer.lastName, + firstName: contactInfo.firstName || customer.firstName, + lastName: contactInfo.lastName || customer.lastName, phoneNumber: contactInfo.phoneNumber, optInSms: contactInfo.requestTextUpdates ?? false },