more
This commit is contained in:
@@ -175,14 +175,13 @@ const SignupPage = () => {
|
||||
subscriptionId,
|
||||
isPromotionalMebership
|
||||
) {
|
||||
console.log("isPromotionalMebership", isPromotionalMebership);
|
||||
const appUserId = uuidv4();
|
||||
const firmId = uuidv4();
|
||||
const fbAuthUid = authId;
|
||||
let plan = selectedPlan;
|
||||
let docsAllowedPerMonth;
|
||||
|
||||
if (isPromotionalMebership?.isPromotionalMebership2 === "correct") {
|
||||
if (isPromotionalMebership == true) {
|
||||
docsAllowedPerMonth = 1;
|
||||
subscriptionId = uuidv4();
|
||||
plan = "promo plan";
|
||||
@@ -209,10 +208,7 @@ const SignupPage = () => {
|
||||
const userState = stateDataValues.filter((value) => {
|
||||
if (value.name === state) return value;
|
||||
});
|
||||
console.log(
|
||||
"isPromotionalMebership directly above userData line 215",
|
||||
isPromotionalMebership
|
||||
);
|
||||
|
||||
const userData = {
|
||||
docsAllowedPerMonth,
|
||||
docsGenerated,
|
||||
@@ -260,7 +256,6 @@ const SignupPage = () => {
|
||||
};
|
||||
|
||||
const handleCancelModal = () => {
|
||||
console.log("handleCancelModal");
|
||||
setShowPromoModal(!showPromoModal);
|
||||
setShowSelectPlan(!showSelectPlan);
|
||||
};
|
||||
@@ -409,7 +404,7 @@ const SignupPage = () => {
|
||||
subscriptionPeriodEnd,
|
||||
subscriptionId
|
||||
);
|
||||
console.log("res", res);
|
||||
|
||||
setIsBusy(false);
|
||||
navigate("/dashboard");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user