@tap-payments/auth-jsconnect 2.4.17 → 2.4.18
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.
|
@@ -62,7 +62,7 @@ var CollapseStyled = styled(Collapse)(function () { return ({
|
|
|
62
62
|
width: '100%'
|
|
63
63
|
}); });
|
|
64
64
|
var TAC = function (_a) {
|
|
65
|
-
var _b;
|
|
65
|
+
var _b, _c, _d;
|
|
66
66
|
var show = _a.show, readOnly = _a.readOnly;
|
|
67
67
|
var t = useTranslation().t;
|
|
68
68
|
var isAr = useLanguage().isAr;
|
|
@@ -71,7 +71,7 @@ var TAC = function (_a) {
|
|
|
71
71
|
var tacControl = useController({ control: control, name: 'termAndConditionChecked' });
|
|
72
72
|
var tacChecked = tacControl.field.value;
|
|
73
73
|
var warningMessage = (_b = tacControl.fieldState.error) === null || _b === void 0 ? void 0 : _b.message;
|
|
74
|
-
var countryCode = settingsData.businessCountry.iso2.toLowerCase();
|
|
74
|
+
var countryCode = (_d = (_c = settingsData.businessCountry) === null || _c === void 0 ? void 0 : _c.iso2) === null || _d === void 0 ? void 0 : _d.toLowerCase();
|
|
75
75
|
var handleTACCheckedChange = function (event, checked) {
|
|
76
76
|
if (readOnly)
|
|
77
77
|
return;
|