remove placeholders
This commit is contained in:
parent
6332de8d70
commit
a409cfd75a
|
|
@ -25,12 +25,7 @@ export function ApiImage(props: ApiImageProps) {
|
|||
return (
|
||||
<Stack>
|
||||
{imageUrl ? (
|
||||
<Image
|
||||
{...props}
|
||||
src={imageUrl}
|
||||
fit="contain"
|
||||
//fallbackSrc="https://placehold.co/600x400?text=Placeholder"
|
||||
/>
|
||||
<Image {...props} src={imageUrl} fit="contain" />
|
||||
) : (
|
||||
<Skeleton h={props?.h ?? props.w} w={props?.w ?? props.h} />
|
||||
)}
|
||||
|
|
|
|||
|
|
@ -44,7 +44,6 @@ export function Thumbnail({
|
|||
w={size}
|
||||
fit="contain"
|
||||
radius="xs"
|
||||
//fallbackSrc="https://placehold.co/600x400?text=Placeholder"
|
||||
style={{ maxHeight: size }}
|
||||
/>
|
||||
{inner}
|
||||
|
|
|
|||
Loading…
Reference in New Issue