From 7c6ac76ace0f16e13de8de35660bbadde18610b8 Mon Sep 17 00:00:00 2001 From: Larvey Date: Tue, 25 Apr 2023 14:02:45 -0400 Subject: [PATCH] Remove unneeded ternary Didn't know this was possible. :D --- src/widgets/dashDot/DashDotTile.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widgets/dashDot/DashDotTile.tsx b/src/widgets/dashDot/DashDotTile.tsx index de21c8f16..b3fbd76db 100644 --- a/src/widgets/dashDot/DashDotTile.tsx +++ b/src/widgets/dashDot/DashDotTile.tsx @@ -185,7 +185,7 @@ function DashDotTile({ widget }: DashDotTileProps) { return ( - {dashName ? dashName : t('card.title')} + {dashName || t('card.title')} {!info &&

{t('card.errors.noInformation')}

} {info && (