This commit is contained in:
Enrico Ros
2024-06-16 18:44:09 -07:00
parent c0f12c0a5d
commit 173af4e459
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -214,7 +214,7 @@ function RenderCodeImpl(props: RenderCodeImplProps) {
renderSVG
? (patchSvgString(fitScreen, blockCode) || 'No SVG code')
: renderPlantUML
? (patchSvgString(fitScreen, plantUmlHtmlData) || (plantUmlError as string) || 'No PlantUML rendering.')
? (patchSvgString(fitScreen, plantUmlHtmlData) || (plantUmlError ? `PlantUML Error: ${plantUmlError.message}` : 'No PlantUML code'))
: highlightedCode,
}}
sx={{