mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-26 15:48:32 -06:00
pushing state down with contexts
This commit is contained in:
@@ -9,9 +9,7 @@ export default function ExpandableModule({
|
||||
}: {
|
||||
moduleName: string;
|
||||
}) {
|
||||
const { courseName } = useCourseContext();
|
||||
const { assignments, quizzes, pages } = useModuleDataQuery(
|
||||
courseName,
|
||||
moduleName
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user