feat: auth profile integration on personal info tab
This commit is contained in:
@ -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 (
|
||||
<>
|
||||
<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">
|
||||
Name
|
||||
</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 className="text-gray-500">
|
||||
|
Reference in New Issue
Block a user