pre prod fixes
This commit is contained in:
@@ -5,7 +5,7 @@ import { useEffect } from "react";
|
||||
import { getSession, useSession } from "next-auth/react";
|
||||
import { useRouter } from "next/router";
|
||||
import { connect, useDispatch } from "react-redux";
|
||||
import { getPersonalAccount, getPortalLogin } from "../../actions";
|
||||
import { getPersonalAccount, getPortalLoginProxy } from "../../actions";
|
||||
import Breadcrumbs from "../../components/breadcrumbs";
|
||||
import CookieBanner from "../../components/cookieBanner";
|
||||
import Footer from "../../components/footer";
|
||||
@@ -34,7 +34,9 @@ const RepresentationF = (props) => {
|
||||
const thisSession = await getSession();
|
||||
|
||||
if (thisSession) {
|
||||
let loggedInUser = await getPortalLogin(thisSession.user.email);
|
||||
let loggedInUser = await getPortalLoginProxy(
|
||||
thisSession.user.email
|
||||
);
|
||||
dispatch(
|
||||
setAccountDetails(
|
||||
await getPersonalAccount(
|
||||
|
||||
Reference in New Issue
Block a user