more
This commit is contained in:
@@ -41,7 +41,9 @@ const Dashboard = () => {
|
||||
const appUserId = group ? group.appUserId : null;
|
||||
const _fbAuthUid = group ? group.fbAuthUid : null;
|
||||
const isDashboard = true;
|
||||
|
||||
group && console.log("group.tpe", group?.tpe);
|
||||
console.log("auth", auth);
|
||||
console.log("appUserId", appUserId);
|
||||
useEffect(() => {
|
||||
if (count.current == null) {
|
||||
setIsMobile(window.innerWidth < 440);
|
||||
@@ -188,6 +190,10 @@ const Dashboard = () => {
|
||||
) : null;
|
||||
};
|
||||
|
||||
if (!group) {
|
||||
return;
|
||||
}
|
||||
|
||||
return (
|
||||
<>
|
||||
<div className="dashboard-header">
|
||||
@@ -203,34 +209,6 @@ const Dashboard = () => {
|
||||
<div className="user-name-container2">{group.firm}</div>
|
||||
</div>
|
||||
<div className="app-divider dash-divider" />
|
||||
{isPromoFirstLogin ? (
|
||||
<>
|
||||
<div className="dash-promo-first-box">
|
||||
<div className="dash-promo-first-wrap">
|
||||
<div className="dash-promo-first-textwrap">
|
||||
<div className="dash-promo-first-text">
|
||||
<p className="dash-welcome-text">
|
||||
Welcome to Novodraft, attorney {group.lastName}. We are
|
||||
excited to introduce you to our AI application. Review the
|
||||
step-by-step user guide by clicking "How-to" in the above
|
||||
navigation bar.
|
||||
</p>
|
||||
<p className="dash-welcome-text">
|
||||
Your login is username: <strong>{group.email}</strong> with
|
||||
a temporary password: <strong>{group.tpe}</strong>. You
|
||||
should change your password now by{" "}
|
||||
<span onClick={handleClick} className="dash-clicknow-span">
|
||||
clicking here.
|
||||
</span>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="app-divider dash-divider" />
|
||||
</>
|
||||
) : null}
|
||||
<div className="stats-container">
|
||||
<div className="stats-row-box">
|
||||
<div className="stats-unit-wrapper">
|
||||
@@ -325,3 +303,34 @@ const Dashboard = () => {
|
||||
};
|
||||
|
||||
export default Dashboard;
|
||||
|
||||
/*
|
||||
{isPromoFirstLogin ? (
|
||||
<>
|
||||
<div className="dash-promo-first-box">
|
||||
<div className="dash-promo-first-wrap">
|
||||
<div className="dash-promo-first-textwrap">
|
||||
<div className="dash-promo-first-text">
|
||||
<p className="dash-welcome-text">
|
||||
Welcome to Novodraft, attorney {group.lastName}. We are
|
||||
excited to introduce you to our AI application. Review the
|
||||
step-by-step user guide by clicking "How-to" in the above
|
||||
navigation bar.
|
||||
</p>
|
||||
<p className="dash-welcome-text">
|
||||
Your login is username: <strong>{group.email}</strong> with
|
||||
a temporary password: <strong>{group.tpe}</strong>. You
|
||||
should change your password now by{" "}
|
||||
<span onClick={handleClick} className="dash-clicknow-span">
|
||||
clicking here.
|
||||
</span>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="app-divider dash-divider" />
|
||||
</>
|
||||
) : null}
|
||||
*/
|
||||
|
||||
@@ -70,7 +70,7 @@ const HomePageB = () => {
|
||||
subscriptionPeriodEnd,
|
||||
subscriptionId,
|
||||
isPromotionalMebership = true,
|
||||
docsAllowedPeMonth = 1
|
||||
docsAllowedPeMonth = 99999
|
||||
) {
|
||||
if (!email || !password || !dataValues[0]) {
|
||||
return;
|
||||
|
||||
@@ -22,6 +22,7 @@ const Login = () => {
|
||||
setNotice("");
|
||||
|
||||
try {
|
||||
console.log("auth, email, password", auth, email, password);
|
||||
const userCredential = await signInWithEmailAndPassword(
|
||||
auth,
|
||||
email,
|
||||
|
||||
@@ -404,6 +404,7 @@ const SignupPage = () => {
|
||||
// ******************** END STRIPE PAYMENT API CALL ******************** //
|
||||
const handleSignup = async (e) => {
|
||||
const paymentDataValues = validatePaymentData();
|
||||
|
||||
if (paymentDataValues === null) {
|
||||
return;
|
||||
}
|
||||
@@ -412,7 +413,7 @@ const SignupPage = () => {
|
||||
if (dataValues === null) {
|
||||
return;
|
||||
}
|
||||
|
||||
console.log("dataValues", dataValues);
|
||||
//const planType = determinePlan(isAnnual, activeRadioOption);
|
||||
|
||||
if (paymentDataValues && dataValues) {
|
||||
|
||||
Reference in New Issue
Block a user