fix: remove explicit size:l from avatar URLs
- Now uses default size (m) which is omitted from URL - Cleaner URLs without size parameter
This commit is contained in:
1 parent
0aef27efc4
commit
49185dd7a9
8 files changed
+5
-8
No files matched your search
@@ -75,7 +75,6 @@ function AvatarPreview({ type, id }: { type?: string; id?: number }) {
|
||||
return (
|
||||
<img
|
||||
src={getAvatarUrl(figure, {
|
||||
size: "l",
|
||||
direction: 2,
|
||||
headDirection: 3,
|
||||
headOnly: HEAD_TYPES.has(type),
|
||||
|
||||
@@ -132,7 +132,7 @@ export default async function ModTeamPage() {
|
||||
<div className="relative">
|
||||
<AvatarImage
|
||||
figure={member.look}
|
||||
options={{ headOnly: true, size: "l" }}
|
||||
options={{ headOnly: true }}
|
||||
alt={member.username}
|
||||
width={32}
|
||||
height={32}
|
||||
|
||||
Reference in new issue
Block a user