From 0aa70b67892a90f649ed79bcca7c61cb53c12ac8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marcin=20miko=C5=82ajczak?= Date: Mon, 30 Sep 2024 18:23:05 +0200 Subject: [PATCH] pl-fe: Fix widgets header MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: marcin mikołajczak --- packages/pl-fe/src/components/ui/widget/widget.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/pl-fe/src/components/ui/widget/widget.tsx b/packages/pl-fe/src/components/ui/widget/widget.tsx index c9e3a7eec..dcea8f6b9 100644 --- a/packages/pl-fe/src/components/ui/widget/widget.tsx +++ b/packages/pl-fe/src/components/ui/widget/widget.tsx @@ -47,7 +47,7 @@ const Widget: React.FC = ({ action, }): JSX.Element => ( - {title || action || onActionClick && ( + {(title || action || onActionClick) && ( {title && } {action || (onActionClick && (