From c92ebc238c29f1a5b7bdb2e50f11725f5605b084 Mon Sep 17 00:00:00 2001 From: adamsithr Date: Thu, 25 Jun 2026 08:58:22 -0400 Subject: [PATCH] refactor: Use UserStore in ProfileCard component (closes #261) --- src/features/buyer/profile/components/ProfileCard.tsx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/features/buyer/profile/components/ProfileCard.tsx b/src/features/buyer/profile/components/ProfileCard.tsx index 0ab4454..6bcaa07 100644 --- a/src/features/buyer/profile/components/ProfileCard.tsx +++ b/src/features/buyer/profile/components/ProfileCard.tsx @@ -1,9 +1,16 @@ +import { useUser } from '@/shared/stores/userStore'; + export function ProfileCard() { + const { name, email } = useUser(); + return (
- Matias Aguilar + {name || 'User Name'} +
+
+ {email || 'user@example.com'}
Premium Member