File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -4,9 +4,12 @@ import { useEffect, useState } from "react";
44import { api } from "../utils/api" ;
55import Link from "next/link" ;
66import ProgressBar from "../components/ProgressBar" ;
7+ import LoggedInAs from "./loggedinas" ;
8+ import { useSession } from "next-auth/react" ;
79
810const PolisSurvey : NextPage = ( ) => {
911 const router = useRouter ( ) ;
12+ const { data : sessionData } = useSession ( ) ;
1013 const { surveyId } = router . query ;
1114 const userID = api . user . getId . useQuery ( ) ?. data ?. id ;
1215
@@ -38,6 +41,7 @@ const PolisSurvey: NextPage = () => {
3841 Step 6: Fill out the Pol.is survey
3942 </ h1 >
4043 < ProgressBar completed = { 100 } />
44+ < LoggedInAs email = { sessionData ?. user . email } />
4145 < div
4246 id = "polis-container"
4347 className = "mx-auto mt-8 h-[80%] w-[80%] overflow-y-scroll"
You can’t perform that action at this time.
0 commit comments