feat: auth profile integration on personal info tab

This commit is contained in:
2025-05-29 20:13:17 +02:00
parent aa18b9f3e2
commit 60e317b9e4

View File

@ -1,8 +1,11 @@
import Avatar from "@/feature/Avatar"; import Avatar from "@/feature/Avatar";
import { useAuth } from "@/store/auth";
import { ChevronRight } from "lucide-react"; import { ChevronRight } from "lucide-react";
import { type FC } from "react"; import { type FC } from "react";
const PersonalInfo: FC = () => { const PersonalInfo: FC = () => {
const profile = useAuth((state) => state.profile);
return ( return (
<> <>
<h1 className="dark:text-gray-200 text-gray-800 text-2xl"> <h1 className="dark:text-gray-200 text-gray-800 text-2xl">
@ -47,7 +50,9 @@ const PersonalInfo: FC = () => {
<p className="text-sm dark:text-gray-400 font-medium text-gray-600"> <p className="text-sm dark:text-gray-400 font-medium text-gray-600">
Name Name
</p> </p>
<p className="text dark:text-gray-200 text-gray-800">Amir Adal</p> <p className="text dark:text-gray-200 text-gray-800">
{profile?.full_name}
</p>
</div> </div>
<div> <div>
<div className="text-gray-500"> <div className="text-gray-500">