Skip to content

Commit

Permalink
fix issue #6734 (#6735)
Browse files Browse the repository at this point in the history
* in \[errorCode\].tsx, wrapped parsedContent in a div and applied styling of white-space: pre-wrap to preserve whitespace and break on newline chars

* updated styling to tailwind class
  • Loading branch information
wheeler6123 committed Apr 17, 2024
1 parent 56ca8f1 commit c2180a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/errors/[errorCode].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export default function ErrorDecoderPage({
}}
routeTree={sidebarLearn as RouteItem}
section="unknown">
{parsedContent}
<div className="whitespace-pre-line">{parsedContent}</div>
{/* <MaxWidth>
<P>
We highly recommend using the development build locally when debugging
Expand Down

0 comments on commit c2180a3

Please sign in to comment.