mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-15 09:46:19 +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 (
|
||||
<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}>
|
||||
|
||||
Reference in New Issue
Block a user