@cerebruminc/cerebellum 16.0.0-beta.dangerous.c8b4799 → 16.0.0-beta.dangerous.df9ec3f

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/esm/index.js CHANGED
@@ -18091,10 +18091,9 @@ function AddressField(props) {
18091
18091
  var country = properties.country;
18092
18092
  var handleChange = function (key, value, fullAddress) {
18093
18093
  var _a;
18094
- var _b, _c;
18095
18094
  var newFormData = __assign(__assign({}, formData), (_a = {}, _a[key] = value, _a));
18096
18095
  if (fullAddress) {
18097
- newFormData = __assign(__assign({}, newFormData), { address: ((_c = (_b = fullAddress === null || fullAddress === void 0 ? void 0 : fullAddress.rawAddressObject) === null || _b === void 0 ? void 0 : _b.formattedSuggestion) === null || _c === void 0 ? void 0 : _c.mainText) || (fullAddress === null || fullAddress === void 0 ? void 0 : fullAddress.street), postalCode: fullAddress === null || fullAddress === void 0 ? void 0 : fullAddress.postalCode, state: fullAddress.state, city: fullAddress.city });
18096
+ newFormData = __assign(__assign({}, newFormData), { postalCode: fullAddress === null || fullAddress === void 0 ? void 0 : fullAddress.postalCode, state: fullAddress.state, city: fullAddress.city });
18098
18097
  }
18099
18098
  onChange(newFormData);
18100
18099
  };