diff --git a/src/pages/course-hierarchy/[identifier].tsx b/src/pages/course-hierarchy/[identifier].tsx index 6838231..2387fbf 100644 --- a/src/pages/course-hierarchy/[identifier].tsx +++ b/src/pages/course-hierarchy/[identifier].tsx @@ -132,14 +132,3 @@ export async function getStaticPaths() { fallback: "blocking", }; } - -export async function getStaticProps({ locale, params }: any) { - const { identifier } = params; - - return { - props: { - identifier, - ...(await serverSideTranslations(locale, ["common"])), - }, - }; -} \ No newline at end of file