fix: show profile banner and avatar when media auto-load is disabled

This commit is contained in:
codytseng 2025-11-15 11:46:57 +08:00
parent bcafbcc48c
commit 606f9af1ba
3 changed files with 6 additions and 2 deletions

View file

@ -27,6 +27,7 @@ export default function AvatarWithLightbox({ userId }: { userId: string }) {
wrapper:
'shrink-0 rounded-full bg-background w-24 h-24 absolute left-3 bottom-0 translate-y-1/2 border-4 border-background'
}}
ignoreAutoLoadPolicy
/>
)
}

View file

@ -28,6 +28,7 @@ export default function BannerWithLightbox({
wrapper: 'rounded-none border-none'
}}
errorPlaceholder={defaultBanner}
ignoreAutoLoadPolicy
/>
)
}