authentication check on page

This commit is contained in:
2023-10-26 11:58:47 +01:00
parent 1807749bba
commit 48bfa5e0be
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -8,6 +8,7 @@ import CookieBanner from "../../components/cookieBanner";
import Footer from "../../components/footer";
import Header from "../../components/header";
import { useSession, getSession } from "next-auth/react";
import NoSessionWarning from "../../components/nosession";
const Home = (props) => {
const { footerLinks, pages } = props;
+1
View File
@@ -9,6 +9,7 @@ import Header from "../../components/header";
import ViewAll from "../../components/myportal/viewall";
import TimeOut from "../../components/timeout";
import { getSession, useSession } from "next-auth/react";
import NoSessionWarning from "../../components/nosession";
const Home = (props) => {
const { footerLinks, pages } = props;