-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed the unused contexts from the lesson types root.
- Loading branch information
1 parent
3ee5df0
commit b6ffdce
Showing
4 changed files
with
1 addition
and
119 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,6 @@ | ||
import { ReactNode, Suspense } from 'react'; | ||
import { CurriculumModelsContextProvider } from '../curriculum/delivery-models/contexts/curriculum-models-context-provider'; | ||
import Loading from '../loading'; | ||
import ServiceCategoryContextProvider from './lessons/service-category-context-provider'; | ||
import WorkTaskFilteringContext from './work-task-filtering-context'; | ||
|
||
export default function Layout({ children }: { children: ReactNode }) { | ||
return ( | ||
<ServiceCategoryContextProvider serviceCategories={{}}> | ||
<WorkTaskFilteringContext> | ||
<CurriculumModelsContextProvider models={{}}> | ||
<Suspense fallback={<Loading />}>{children}</Suspense> | ||
</CurriculumModelsContextProvider> | ||
</WorkTaskFilteringContext> | ||
</ServiceCategoryContextProvider> | ||
); | ||
return <Suspense fallback={<Loading />}>{children}</Suspense>; | ||
} |
68 changes: 0 additions & 68 deletions
68
app/work-types/lessons/_service-category-context-provider.tsx
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.