diff --git a/app/api/event1/getTeamData/route.js b/app/api/event1/getTeamData/route.js
index 2b7c421..a3554b0 100644
--- a/app/api/event1/getTeamData/route.js
+++ b/app/api/event1/getTeamData/route.js
@@ -15,6 +15,7 @@ export async function GET(req) {
let userId = await getTokenDetails(auth);
const user = await Users.findById({ _id: userId });
+ console.log('gggggggggggggggggggggggg',user);
if (!user) {
return NextResponse.json({ message: 'User Not found' });
diff --git a/app/events/event1/page.jsx b/app/events/event1/page.jsx
index 0a6c334..6db4ab2 100644
--- a/app/events/event1/page.jsx
+++ b/app/events/event1/page.jsx
@@ -1,3 +1,5 @@
+import Link from "next/link";
+
export default function Page() {
return
Event1 Landing Page
@@ -5,8 +7,6 @@ export default function Page() {
info about Event1
-
+ Register
;
}
\ No newline at end of file
diff --git a/app/userDetails/page.jsx b/app/userDetails/page.jsx
index 4469289..9a2e95c 100644
--- a/app/userDetails/page.jsx
+++ b/app/userDetails/page.jsx
@@ -152,7 +152,7 @@ export default function UserDetails() {
style={{ color: "black" }}
/>
-
+
);
diff --git a/components/SignInBtn.jsx b/components/SignInBtn.jsx
index 63eec2d..102d2eb 100644
--- a/components/SignInBtn.jsx
+++ b/components/SignInBtn.jsx
@@ -2,19 +2,21 @@
import Image from "next/image";
import { signIn,signOut,useSession } from "next-auth/react";
+import { Router, useRouter } from "next/navigation";
export default function SignInBtn() {
const { status } = useSession();
+ const router = useRouter();
return (
{status === "authenticated" ? (
) : (
)}