lower cased title when displaying unable to load error message

Signed-off-by: Jonah Grimes <jgrimes@appriss.com>
This commit is contained in:
Jonah Grimes
2021-05-04 17:47:09 -04:00
parent 16a8fc5079
commit e6348e2e9a
@@ -71,7 +71,7 @@ export function RelatedEntitiesCard<T extends Entity>({
<InfoCard variant={variant} title={title}>
<WarningPanel
severity="error"
title={`Could not load ${title}`}
title={`Could not load ${title.toLocaleLowerCase('en-US')}`}
message={<CodeSnippet text={`${error}`} language="text" />}
/>
</InfoCard>