Remove unneeded ternary
Didn't know this was possible. :D
This commit is contained in:
1 parent
815d4d6a62
commit
7c6ac76ace
1 file changed
+1
-1
@@ -185,7 +185,7 @@ function DashDotTile({ widget }: DashDotTileProps) {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Stack spacing="xs">
|
<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 && <p>{t('card.errors.noInformation')}</p>}
|
||||||
{info && (
|
{info && (
|
||||||
<div className={classes.graphsContainer}>
|
<div className={classes.graphsContainer}>
|
||||||
|
|||||||
Reference in new issue
Block a user