We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0babc9c commit f1a59fbCopy full SHA for f1a59fb
packages/module/src/catalog/QuickStartTile.tsx
@@ -72,14 +72,14 @@ const QuickStartTile: React.FC<QuickStartTileProps> = ({
72
if (link) {
73
window.open(link.href);
74
} else {
75
- setActiveQuickStart(name, tasks?.length);
+ setActiveQuickStart(id, tasks?.length);
76
}
77
onClick();
78
79
};
80
81
return (
82
- <div ref={ref}>
+ <div ref={ref} onClick={handleClick}>
83
<CatalogTile
84
id={id + '-catalog-tile'}
85
style={{
@@ -99,7 +99,6 @@ const QuickStartTile: React.FC<QuickStartTileProps> = ({
99
action={action}
100
/>
101
102
- onClick={handleClick}
103
onKeyDown={(event) => {
104
if (event.key === 'Enter' || event.key === ' ') {
105
setActiveQuickStart(id, tasks?.length);
0 commit comments