add file info fro document view

This commit is contained in:
smanylov
2026-05-04 20:31:15 +07:00
parent 84b73b912f
commit 2fad519b7e
4 changed files with 217 additions and 99 deletions
@@ -0,0 +1,18 @@
'use client';
import Link from 'next/link';
import { useUserProfile } from '@/app/hooks/react-query/useUserDataInfo';
export function LoginUserBage() {
const { data: userData, isLoading, isError, error } = useUserProfile();
if (!userData?.fullName) {
return null;
}
return (
<Link href="#" className="header-user">
{userData?.fullName}
</Link>
);
}