Fix thumbnail size
This commit is contained in:
		@@ -114,6 +114,10 @@ export class Member implements MemberDataApi {
 | 
			
		||||
  get photoURL(): string {
 | 
			
		||||
    return `${APIClient.backendURL()}/photo/${this.signed_photo_id}`;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  get thumbnailURL(): string {
 | 
			
		||||
    return `${APIClient.backendURL()}/photo/${this.signed_photo_id}/thumbnail`;
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
export class MembersList {
 | 
			
		||||
 
 | 
			
		||||
@@ -9,7 +9,7 @@ export function MemberPhoto(p: {
 | 
			
		||||
    <Avatar
 | 
			
		||||
      sx={{ width: `${p.width}px`, height: "auto", display: "inline-block" }}
 | 
			
		||||
      variant="rounded"
 | 
			
		||||
      src={p.member.photoURL}
 | 
			
		||||
      src={p.member.thumbnailURL}
 | 
			
		||||
    />
 | 
			
		||||
  );
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user