diff --git a/src/pages/polissurvey.tsx b/src/pages/polissurvey.tsx index c907176..37e41a4 100644 --- a/src/pages/polissurvey.tsx +++ b/src/pages/polissurvey.tsx @@ -4,9 +4,12 @@ import { useEffect, useState } from "react"; import { api } from "../utils/api"; import Link from "next/link"; import ProgressBar from "../components/ProgressBar"; +import LoggedInAs from "./loggedinas"; +import { useSession } from "next-auth/react"; const PolisSurvey: NextPage = () => { const router = useRouter(); + const { data: sessionData } = useSession(); const { surveyId } = router.query; const userID = api.user.getId.useQuery()?.data?.id; @@ -38,6 +41,7 @@ const PolisSurvey: NextPage = () => { Step 6: Fill out the Pol.is survey +