File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed
Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -20,19 +20,11 @@ interface QuickStartControllerProps {
2020}
2121
2222export const QuickStartController : React . FC < QuickStartControllerProps > = ( {
23- quickStart, // : propQS, might be able to have default value of current active QS using context?
24- nextQuickStarts, // : propNextQS, might be same
23+ quickStart,
24+ nextQuickStarts,
2525 contentRef,
2626 footerClass,
2727} ) => {
28- // Should work?
29- // const { allQuickStarts, activeQuickStartID } =
30- // React.useContext<QuickStartContextValues>(QuickStartContext);
31- // const quickStart = propQS || allQuickStarts.find((qs) => qs.metadata.name === activeQuickStartID);
32- // const nextQuickStarts =
33- // propNextQS ||
34- // allQuickStarts.filter((qs) => quickStart?.spec.nextQuickStart?.includes(qs.metadata.name));
35-
3628 const {
3729 metadata : { name } ,
3830 spec : { tasks = [ ] } ,
You can’t perform that action at this time.
0 commit comments