Wrap in code fence

This commit is contained in:
Adam Harvey
2021-02-03 21:46:54 -05:00
parent c0ddb32563
commit e73f35b1ea
3 changed files with 3 additions and 3 deletions
@@ -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>