From 1e30faea972141e6be49c2470d59b7bfe5575397 Mon Sep 17 00:00:00 2001 From: Kim Lan Phan Hoang Date: Fri, 20 Dec 2024 10:20:30 +0100 Subject: [PATCH] fix: use correct id for useMember (#728) --- src/components/layout/MemberAvatar.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/layout/MemberAvatar.tsx b/src/components/layout/MemberAvatar.tsx index 0ecbc321..8bf2da9f 100644 --- a/src/components/layout/MemberAvatar.tsx +++ b/src/components/layout/MemberAvatar.tsx @@ -27,7 +27,7 @@ const MemberAvatar = React.forwardRef( ): JSX.Element => { const { hooks } = useContext(QueryClientContext); const { t } = useLibraryTranslation(); - const { data: member, isLoading, isFetching } = hooks.useMember(id); + const { data: member, isLoading, isFetching } = hooks.useMember(memberId); const { data: avatarUrl, isLoading: isLoadingAvatar,