diff --git a/client/src/templates/Introduction/components/super-block-accordion.tsx b/client/src/templates/Introduction/components/super-block-accordion.tsx index 2f01d8ce749..5605a6e6a3c 100644 --- a/client/src/templates/Introduction/components/super-block-accordion.tsx +++ b/client/src/templates/Introduction/components/super-block-accordion.tsx @@ -11,6 +11,7 @@ import superBlockStructure from '../../../../../curriculum/superblock-structure/ import { ChapterIcon } from '../../../assets/chapter-icon'; import { BlockLayouts, BlockTypes } from '../../../../../shared/config/blocks'; import { FsdChapters } from '../../../../../shared/config/chapters'; +import { type Module } from '../../../../../shared/config/modules'; import envData from '../../../../config/env.json'; import Block from './block'; import CheckMark from './check-mark'; @@ -54,15 +55,6 @@ interface SuperBlockAccordionPropsViewProps { completedChallengeIds: string[]; } -type Module = { - dashedName: string; - comingSoon?: boolean; - blocks: { - dashedName: string; - }[]; - moduleType?: string; -}; - const modules = superBlockStructure.chapters.flatMap( ({ modules }) => modules );