Remove unneeded ternary

Didn't know this was possible. :D
This commit is contained in:
Larvey
2023-04-25 14:02:45 -04:00
parent 815d4d6a62
commit 7c6ac76ace

View File

@@ -185,7 +185,7 @@ function DashDotTile({ widget }: DashDotTileProps) {
return (
<Stack spacing="xs">
<Title order={3}>{dashName ? dashName : t('card.title')}</Title>
<Title order={3}>{dashName || t('card.title')}</Title>
{!info && <p>{t('card.errors.noInformation')}</p>}
{info && (
<div className={classes.graphsContainer}>