Removed the debug messages

This commit is contained in:
DrMint 2021-12-31 17:45:38 +01:00
parent 177b9c7927
commit 40046955fb
1 changed files with 0 additions and 6 deletions

View File

@ -63,7 +63,6 @@ export default function Library(props: Props): JSX.Element {
} }
export const getStaticProps: GetStaticProps = async (context) => { export const getStaticProps: GetStaticProps = async (context) => {
console.log(context.params);
if (context.params && Array.isArray(context.params.slug) && context.locale) { if (context.params && Array.isArray(context.params.slug) && context.locale) {
return { return {
props: { props: {
@ -76,11 +75,6 @@ export const getStaticProps: GetStaticProps = async (context) => {
export async function getStaticPaths() { export async function getStaticPaths() {
const paths = (await getAllSlugs()); const paths = (await getAllSlugs());
paths.map((item) => {
console.log(item.params.slug);
});
return { return {
paths, paths,
fallback: false, fallback: false,