{#if isMobile}
{:else}
{/if} {#if showError && validatedState.current.error instanceof Error}
Syntax error
{#if env.isEnabledMermaidChartLinks && validatedState.current.editorMode === 'code'}
Create a free account to repair with AI
{/if}
{#if validatedState.current.editorMode === 'code'}
logMermaidChartClick('aiRepair')}>
AI Repair
{/if}
{validatedState.current.error?.toString()}
{/if}