From a2ed41943fd1304a00a1dfcd3bc4f4147ab381e6 Mon Sep 17 00:00:00 2001 From: Jibola Paul Date: Wed, 31 Jul 2024 00:49:33 +0100 Subject: [PATCH] fix: remove comment --- src/components/layouts/navbar/mobile-navbar.tsx | 5 ----- src/config/auth.config.ts | 2 -- 2 files changed, 7 deletions(-) diff --git a/src/components/layouts/navbar/mobile-navbar.tsx b/src/components/layouts/navbar/mobile-navbar.tsx index 5576723b9..d9c76ac65 100644 --- a/src/components/layouts/navbar/mobile-navbar.tsx +++ b/src/components/layouts/navbar/mobile-navbar.tsx @@ -7,7 +7,6 @@ import Link from "next/link"; import { useEffect, useState } from "react"; import UserCard from "~/components/card/user-card"; -// import { useUser } from "~/hooks/user/use-user"; import { cn } from "~/lib/utils"; import { NAV_LINKS } from "./links"; @@ -16,12 +15,8 @@ export default function MobileNav() { const [scope, animate] = useAnimate(); const { data: session } = useSession(); - // the stagger effect const staggerList = stagger(0.1, { startDelay: 0.25 }); - // create the animations that will be applied - // whenever the open state is toggled - useEffect(() => { animate( "ul", diff --git a/src/config/auth.config.ts b/src/config/auth.config.ts index 3d354fb49..44b26a17c 100644 --- a/src/config/auth.config.ts +++ b/src/config/auth.config.ts @@ -65,8 +65,6 @@ export default { if (account && account.provider !== "google") { return { ...token, ...response.data }; } - /* eslint-disable-next-line no-console */ - console.log("Google Auth Response:", response.data); return { ...token, ...user }; },