From 111c2f66d30cb21c19918c2b8428cf9d8c43a110 Mon Sep 17 00:00:00 2001 From: Duc Ho Date: Mon, 23 Dec 2024 15:29:21 -0700 Subject: [PATCH] Fixed type error for Member Header and Media Grid in Member Page --- src/routes/caregiver/MemberPage.tsx | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/src/routes/caregiver/MemberPage.tsx b/src/routes/caregiver/MemberPage.tsx index ad67c35..b384b9b 100644 --- a/src/routes/caregiver/MemberPage.tsx +++ b/src/routes/caregiver/MemberPage.tsx @@ -175,15 +175,11 @@ export default function MemberPage() {
{userData && ( - } + profilePicture={{ + type: "img", + src: userData.profilePicture, + }} /> )}
@@ -199,6 +195,7 @@ export default function MemberPage() {