mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-15 17:56:21 +01:00
Remove unneeded ternary
Didn't know this was possible. :D
This commit is contained in:
@@ -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