fix: show profile banner and avatar when media auto-load is disabled
This commit is contained in:
parent
bcafbcc48c
commit
606f9af1ba
3 changed files with 6 additions and 2 deletions
|
|
@ -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
|
||||
/>
|
||||
)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -28,6 +28,7 @@ export default function BannerWithLightbox({
|
|||
wrapper: 'rounded-none border-none'
|
||||
}}
|
||||
errorPlaceholder={defaultBanner}
|
||||
ignoreAutoLoadPolicy
|
||||
/>
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue