diff --git a/src/components/renderer/SvgRenderer.tsx b/src/components/renderer/SvgRenderer.tsx index 7eece33..221fc1b 100644 --- a/src/components/renderer/SvgRenderer.tsx +++ b/src/components/renderer/SvgRenderer.tsx @@ -185,8 +185,7 @@ const SvgRenderer = React.forwardRef( switch (toDisplay.status) { case "LOADING": return loadingComponent ? <>{loadingComponent} : null; - case "DEFAULT": - return null} />; + case "MALFORMED_SVG_ERROR": return ( ( /> ); default: - return <>; + return null} />; } } );