Skip to content

Commit 8d392e2

Browse files
committed
clean comments
1 parent e46ccf7 commit 8d392e2

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

packages/module/src/QuickStartController.tsx

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,11 @@ interface QuickStartControllerProps {
2020
}
2121

2222
export 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 = [] },

0 commit comments

Comments
 (0)