Skip to content

Commit

Permalink
fix: use correct id for useMember (#728)
Browse files Browse the repository at this point in the history
  • Loading branch information
pyphilia authored Dec 20, 2024
1 parent 48c759d commit 1e30fae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/layout/MemberAvatar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const MemberAvatar = React.forwardRef<HTMLDivElement, Props>(
): 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,
Expand Down

0 comments on commit 1e30fae

Please sign in to comment.