Skip to content

Commit

Permalink
fix: add pre to preserve whitespace (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
bbtgnn authored Jul 29, 2024
1 parent ee444af commit 4b4c2ce
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -244,9 +244,9 @@ function ErrorRenderer(props: { error: SlangroomError }) {
} else {
return (
<Section title="Error">
<p class="bg-red-50 text-red-800 rounded-lg border border-red-300 divide-red-300 p-4 gap-3 text-sm flex items-center">
<pre class="bg-red-50 text-red-800 rounded-lg border border-red-300 divide-red-300 p-4 gap-3 text-sm flex items-center">
{error}
</p>
</pre>
</Section>
);
}
Expand Down

0 comments on commit 4b4c2ce

Please sign in to comment.