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.
2 parents 52c3245 + cc75202 commit 9e5cc5fCopy full SHA for 9e5cc5f
packages/module/src/QuickStartDrawer.tsx
@@ -165,7 +165,12 @@ export const QuickStartDrawer: React.FC<QuickStartDrawerProps> = ({
165
setAllQuickStartStates,
166
useLegacyHeaderColors,
167
} = React.useContext<QuickStartContextValues>(QuickStartContext);
168
- const combinedQuickStarts = allQuickStarts.concat(quickStarts);
+ const combinedQuickStarts = [
169
+ ...allQuickStarts,
170
+ ...quickStarts,
171
+ ].filter(
172
+ (qs, idx, arr) => arr.findIndex(q => q.metadata.name === qs.metadata.name) === idx
173
+ );
174
React.useEffect(() => {
175
const params = new URLSearchParams(window.location.search);
176
// if there is a quick start param, but the quick start is not active, set it
0 commit comments