From 7fa59b2a9860c7be821facecc8dab196653f8171 Mon Sep 17 00:00:00 2001 From: Rama Priyanto Date: Tue, 24 Dec 2024 15:29:24 +0700 Subject: [PATCH] little update --- components/partials/header/profile-info.tsx | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/components/partials/header/profile-info.tsx b/components/partials/header/profile-info.tsx index 64af8f06..1dda5f29 100644 --- a/components/partials/header/profile-info.tsx +++ b/components/partials/header/profile-info.tsx @@ -26,16 +26,6 @@ const ProfileInfo = () => { useEffect(() => { console.log("us", username); }, [username]); -import React from "react"; - -const ProfileInfo = () => { - - const [session, setSession] = React.useState(); - - const initSession = async () => { - const ses = await auth(); - setSession(ses); - } return (