diff --git a/src/Components/Dashboard/Dashboard.js b/src/Components/Dashboard/Dashboard.js index 10f3790..38abb82 100644 --- a/src/Components/Dashboard/Dashboard.js +++ b/src/Components/Dashboard/Dashboard.js @@ -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 ( <>
- 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. -
-- Your login is username: {group.email} with - a temporary password: {group.tpe}. You - should change your password now by{" "} - - clicking here. - -
-+ 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. +
++ Your login is username: {group.email} with + a temporary password: {group.tpe}. You + should change your password now by{" "} + + clicking here. + +
+