Skip to content
This repository was archived by the owner on Apr 24, 2025. It is now read-only.

Commit 59b52f9

Browse files
authored
use pre for errors (#111)
1 parent cafbe91 commit 59b52f9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

client/src/components/pages/Workspace/Workspace.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ export const Workspace = () => {
209209
<AlertTitle>
210210
Ups! Something went wrong with your code
211211
</AlertTitle>
212-
<div dangerouslySetInnerHTML={{ __html: compileError }} />
212+
<pre dangerouslySetInnerHTML={{ __html: compileError }} />
213213
Fix the code and click <strong>COMPILE</strong> again.
214214
</Alert>
215215
)}

0 commit comments

Comments
 (0)