removed proxy and added endpoints for methods

This commit is contained in:
2022-01-11 17:51:41 +00:00
parent b88bbb2696
commit 545f1c9b78
52 changed files with 2236 additions and 822 deletions
+2 -4
View File
@@ -31,8 +31,6 @@ import {
} from "../store/accountDetails/action";
import { parseCookies, setCookie, destroyCookie } from "nookies";
const WORDKEY = process.env.NEXT_PUBLIC_HASHKEY;
const Home = (props) => {
const {
footerLinks,
@@ -53,9 +51,9 @@ const Home = (props) => {
let expDate = new Date(now);
expDate.setDate(now.getDate() + 1);
console.log("hashed email str", loginEmailStr);
//console.log("hashed email str", loginEmailStr);
_.isEmpty(loggedInUserId) != false && !hasGGCode
? console.log("no log in no ggcode")
? console.log("no ggcode")
: _.has(loggedInUserId, "value")
? _.isEmpty(loggedInUserId.value)
? router.replace({