Wrap in code fence
This commit is contained in:
@@ -152,7 +152,7 @@ export const ApiExplorerTable = ({
|
||||
if (error) {
|
||||
return (
|
||||
<WarningPanel severity="error" title="Could not fetch catalog entities.">
|
||||
{error.toString()}
|
||||
<code>{error.toString()}</code>
|
||||
</WarningPanel>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -131,7 +131,7 @@ export const CatalogTable = ({
|
||||
severity="error"
|
||||
title="Could not fetch catalog entities."
|
||||
>
|
||||
{error.toString()}
|
||||
<code>{error.toString()}</code>
|
||||
</WarningPanel>
|
||||
</div>
|
||||
);
|
||||
|
||||
@@ -67,7 +67,7 @@ export const TechDocsHome = () => {
|
||||
severity="error"
|
||||
title="Could not load available documentation."
|
||||
>
|
||||
{error.message}
|
||||
<code>{error.message}</code>
|
||||
</WarningPanel>
|
||||
</Content>
|
||||
</Page>
|
||||
|
||||
Reference in New Issue
Block a user