@pelcro/react-pelcro-js 3.9.0-beta.6 → 3.9.0-beta.8
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/dist/index.cjs.js +0 -8
- package/dist/index.esm.js +0 -8
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -17287,14 +17287,6 @@ const SubmitPaymentMethod = ({
|
|
|
17287
17287
|
const isUserPhone = Boolean(window.Pelcro.user.read().phone);
|
|
17288
17288
|
const [isDisabled, setDisabled] = React.useState(true);
|
|
17289
17289
|
React.useEffect(() => {
|
|
17290
|
-
console.log("Support Tap", supportsTap);
|
|
17291
|
-
console.log("firstNameError", firstNameError);
|
|
17292
|
-
console.log("lastNameError", lastNameError);
|
|
17293
|
-
console.log("phoneError", phoneError);
|
|
17294
|
-
console.log("firstName", firstName);
|
|
17295
|
-
console.log("lastName", lastName);
|
|
17296
|
-
console.log("phone", phone);
|
|
17297
|
-
|
|
17298
17290
|
if (supportsTap && isUserFirstName && isUserLastName && isUserPhone) {
|
|
17299
17291
|
setDisabled(disableSubmit);
|
|
17300
17292
|
} else {
|
package/dist/index.esm.js
CHANGED
|
@@ -17257,14 +17257,6 @@ const SubmitPaymentMethod = ({
|
|
|
17257
17257
|
const isUserPhone = Boolean(window.Pelcro.user.read().phone);
|
|
17258
17258
|
const [isDisabled, setDisabled] = useState(true);
|
|
17259
17259
|
useEffect(() => {
|
|
17260
|
-
console.log("Support Tap", supportsTap);
|
|
17261
|
-
console.log("firstNameError", firstNameError);
|
|
17262
|
-
console.log("lastNameError", lastNameError);
|
|
17263
|
-
console.log("phoneError", phoneError);
|
|
17264
|
-
console.log("firstName", firstName);
|
|
17265
|
-
console.log("lastName", lastName);
|
|
17266
|
-
console.log("phone", phone);
|
|
17267
|
-
|
|
17268
17260
|
if (supportsTap && isUserFirstName && isUserLastName && isUserPhone) {
|
|
17269
17261
|
setDisabled(disableSubmit);
|
|
17270
17262
|
} else {
|