moving data to be held by react query

This commit is contained in:
2024-08-30 09:12:25 -06:00
parent 9d6a3d1199
commit 5d9ece63fa
15 changed files with 185 additions and 175 deletions

View File

@@ -3,14 +3,12 @@ import { useCourseContext } from "../context/courseContext";
import ExpandableModule from "./ExpandableModule";
export default function ModuleList() {
const {
localCourse: { modules },
} = useCourseContext();
return (
<div>
{modules.map((m) => (
modules here
{/* {modules.map((m) => (
<ExpandableModule key={m.name} module={m} />
))}
))} */}
</div>
);
}