pl-fe: Fix widgets header

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak 2024-09-30 18:23:05 +02:00
parent 93c8b27ed4
commit 0aa70b6789

View file

@ -47,7 +47,7 @@ const Widget: React.FC<IWidget> = ({
action,
}): JSX.Element => (
<Stack space={4}>
{title || action || onActionClick && (
{(title || action || onActionClick) && (
<HStack space={2} alignItems='center' justifyContent='between'>
{title && <WidgetTitle title={title} />}
{action || (onActionClick && (