locale added all case conversion

Signed-off-by: erdoganoksuz <erdoganoksuz95@gmail.com>
This commit is contained in:
erdoganoksuz
2021-03-12 15:06:01 +03:00
parent 37189b54ab
commit 9ca0e40094
31 changed files with 93 additions and 51 deletions
@@ -76,13 +76,13 @@ export const ToolCard = ({ card, objectFit }: Props) => {
<CardContent>
<Typography paragraph variant="h5">
{title}{' '}
{lifecycle && lifecycle.toLowerCase() !== 'ga' && (
{lifecycle && lifecycle.toLocaleLowerCase('en-US') !== 'ga' && (
<Chip
size="small"
label={lifecycle}
className={classNames(
classes.lifecycle,
classes[lifecycle.toLowerCase()],
classes[lifecycle.toLocaleLowerCase('en-US')],
)}
/>
)}