Show the stored avatar on the public profile page

This commit is contained in:
Aaron Po
2026-10-11 22:20:31 -04:00
parent 43eb3a1ddb
commit b41ae73e93
6 changed files with 116 additions and 27 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,
};
};