Show a user's avatar on the public profile (#333)

This commit is contained in:
Aaron Po
2026-10-13 01:23:29 -04:00
committed by GitHub
parent dfe248ea5f
commit c0cb013f54
31 changed files with 812 additions and 78 deletions

View File

@@ -8,6 +8,7 @@ export interface PublicUserProfile {
firstName: string;
lastName: string;
biography: string;
avatarUrl: string;
createdAt: string;
}
@@ -49,6 +50,7 @@ export const getPublicUserProfile = async (
firstName: string;
lastName: string;
biography: string;
avatarUrl: string;
createdAt: string;
} = await res.json();
@@ -58,6 +60,7 @@ export const getPublicUserProfile = async (
firstName: account.firstName,
lastName: account.lastName,
biography: account.biography,
avatarUrl: account.avatarUrl,
createdAt: account.createdAt,
};
};