From cdecc1e1a182aaf8681fad4b28c97d7af051c015 Mon Sep 17 00:00:00 2001 From: itsvick Date: Fri, 6 Dec 2024 11:31:22 +0530 Subject: [PATCH] Issue #PS-0000 fix: Updated course-hierarchy --- src/pages/course-hierarchy/[identifier].tsx | 11 ----------- 1 file changed, 11 deletions(-) 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