ordering-ui-react-native 0.23.70 → 0.23.72
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/package.json
CHANGED
|
@@ -49,7 +49,7 @@ export const BusinessItemAccordion = (props: any) => {
|
|
|
49
49
|
if (cartsLength === 1) {
|
|
50
50
|
changeActiveState && changeActiveState(!isClosed, cart?.uuid)
|
|
51
51
|
}
|
|
52
|
-
}, [orderState?.carts, isClosed])
|
|
52
|
+
}, [orderState?.carts?.length, isClosed])
|
|
53
53
|
|
|
54
54
|
const subtotalWithTaxes = cart?.taxes?.reduce((acc: any, item: any) => {
|
|
55
55
|
if (item?.type === 1)
|
|
@@ -154,9 +154,9 @@ const SignupFormUI = (props: SignupParams) => {
|
|
|
154
154
|
const recaptchaRef = useRef<any>({});
|
|
155
155
|
|
|
156
156
|
const showInputPhoneNumber = (validationFields?.fields?.checkout?.cellphone?.enabled ?? false) || configs?.verification_phone_required?.value === '1'
|
|
157
|
-
const googleLoginEnabled = configs?.google_login_enabled?.value === '1'
|
|
158
|
-
const facebookLoginEnabled = configs?.facebook_login_enabled?.value === '1'
|
|
159
|
-
const appleLoginEnabled = Platform.OS === 'ios' &&
|
|
157
|
+
const googleLoginEnabled = configs?.google_login_enabled?.value === '1'
|
|
158
|
+
const facebookLoginEnabled = configs?.facebook_login_enabled?.value === '1'
|
|
159
|
+
const appleLoginEnabled = Platform.OS === 'ios' && configs?.apple_login_enabled?.value === '1'
|
|
160
160
|
|
|
161
161
|
const closeAlert = () => {
|
|
162
162
|
setAlertState({
|
|
@@ -367,7 +367,7 @@ const SignupFormUI = (props: SignupParams) => {
|
|
|
367
367
|
handleReCaptcha && handleReCaptcha({ code: token, version: recaptchaConfig?.version })
|
|
368
368
|
}
|
|
369
369
|
|
|
370
|
-
const handleChangePhoneNumber = (number
|
|
370
|
+
const handleChangePhoneNumber = (number: any, rawNumber: any) => {
|
|
371
371
|
setPhoneInputData({
|
|
372
372
|
...phoneInputData,
|
|
373
373
|
...number,
|