From 40046955fb52b3932cc2829e837b038d63e8bbf4 Mon Sep 17 00:00:00 2001 From: DrMint Date: Fri, 31 Dec 2021 17:45:38 +0100 Subject: [PATCH] Removed the debug messages --- src/pages/library/[...slug].tsx | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/pages/library/[...slug].tsx b/src/pages/library/[...slug].tsx index a2735ea..8404c21 100644 --- a/src/pages/library/[...slug].tsx +++ b/src/pages/library/[...slug].tsx @@ -63,7 +63,6 @@ export default function Library(props: Props): JSX.Element { } export const getStaticProps: GetStaticProps = async (context) => { - console.log(context.params); if (context.params && Array.isArray(context.params.slug) && context.locale) { return { props: { @@ -76,11 +75,6 @@ export const getStaticProps: GetStaticProps = async (context) => { export async function getStaticPaths() { const paths = (await getAllSlugs()); - - paths.map((item) => { - console.log(item.params.slug); - }); - return { paths, fallback: false,