Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Add getStaticPaths function to diagram.tsx
This commit adds the getStaticPaths function to the diagram.tsx file in the pages/material/[repoId]/[themeId] directory. The function generates the paths for the dynamic routes based on the material data retrieved from the getMaterial function. Each path corresponds to a specific combination of repoId, themeId, and courseId. This change ensures that the dynamic routes are properly generated and accessible for the material pages.
- Loading branch information