From f1a59fb03885c15c075de507a0146935363bfb9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Maro=C5=A1i?= Date: Thu, 7 Mar 2024 13:06:12 +0100 Subject: [PATCH] fix(quickstart tile): opening quickstarts on click event (#288) --- packages/module/src/catalog/QuickStartTile.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/module/src/catalog/QuickStartTile.tsx b/packages/module/src/catalog/QuickStartTile.tsx index 1f43d843..24170660 100644 --- a/packages/module/src/catalog/QuickStartTile.tsx +++ b/packages/module/src/catalog/QuickStartTile.tsx @@ -72,14 +72,14 @@ const QuickStartTile: React.FC = ({ if (link) { window.open(link.href); } else { - setActiveQuickStart(name, tasks?.length); + setActiveQuickStart(id, tasks?.length); } onClick(); } }; return ( -
+
= ({ action={action} /> } - onClick={handleClick} onKeyDown={(event) => { if (event.key === 'Enter' || event.key === ' ') { setActiveQuickStart(id, tasks?.length);