2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-08-06 12:01:41 +00:00

remove placeholders

This commit is contained in:
Matthias Mair
2024-05-01 15:55:00 +02:00
parent 6332de8d70
commit a409cfd75a
2 changed files with 1 additions and 7 deletions

View File

@@ -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} />
)}

View File

@@ -44,7 +44,6 @@ export function Thumbnail({
w={size}
fit="contain"
radius="xs"
//fallbackSrc="https://placehold.co/600x400?text=Placeholder"
style={{ maxHeight: size }}
/>
{inner}