From 60e317b9e4c84c1883a26c40f93f56c0a5fdb813 Mon Sep 17 00:00:00 2001 From: LandaMm Date: Thu, 29 May 2025 20:13:17 +0200 Subject: [PATCH] feat: auth profile integration on personal info tab --- web/src/components/Home/Tabs/PersonalInfo.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/web/src/components/Home/Tabs/PersonalInfo.tsx b/web/src/components/Home/Tabs/PersonalInfo.tsx index 223f998..82456d2 100644 --- a/web/src/components/Home/Tabs/PersonalInfo.tsx +++ b/web/src/components/Home/Tabs/PersonalInfo.tsx @@ -1,8 +1,11 @@ import Avatar from "@/feature/Avatar"; +import { useAuth } from "@/store/auth"; import { ChevronRight } from "lucide-react"; import { type FC } from "react"; const PersonalInfo: FC = () => { + const profile = useAuth((state) => state.profile); + return ( <>

@@ -47,7 +50,9 @@ const PersonalInfo: FC = () => {

Name

-

Amir Adal

+

+ {profile?.full_name} +