This commit is contained in:
xCyanGrizzly
2026-02-18 14:26:36 +01:00
commit 3a5726e82b
167 changed files with 104081 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
"use client";
import { useSession } from "next-auth/react";
export function useCurrentUser() {
const { data: session } = useSession();
return session?.user;
}