fix: Prevent rendering of undefined SVG placeholder

This commit is contained in:
Tom Moor
2023-08-23 21:35:05 -04:00
parent aada5c20cd
commit da9a8af543

View File

@@ -203,7 +203,7 @@ const Image = (
}
}}
/>
{!loaded && (
{!loaded && size.width && size.height && (
<img
style={{
...widthStyle,