From bb45b32156244f9dac2cc30f778d10340f65e7b9 Mon Sep 17 00:00:00 2001 From: Kent Fjellstad Date: Tue, 17 Dec 2024 08:56:53 +0100 Subject: [PATCH] console.log --- pages/[...slug].tsx | 2 -- pages/kvittering/[kvittid].tsx | 7 ------- 2 files changed, 9 deletions(-) diff --git a/pages/[...slug].tsx b/pages/[...slug].tsx index 20d43ab6..7a256753 100644 --- a/pages/[...slug].tsx +++ b/pages/[...slug].tsx @@ -270,8 +270,6 @@ export default Home; export async function getServerSideProps(context: any) { const slug = context.query.slug; - console.log('slug', slug, slug[0], slug[1]); - return { props: { slug: slug[0], diff --git a/pages/kvittering/[kvittid].tsx b/pages/kvittering/[kvittid].tsx index 7a9f8fa5..fcf3c052 100644 --- a/pages/kvittering/[kvittid].tsx +++ b/pages/kvittering/[kvittid].tsx @@ -131,13 +131,6 @@ const Kvittering: NextPage { if (!fravaersperioder && !kvitteringEksterntSystem?.avsenderSystem) { if (!kvitteringSlug || kvitteringSlug === '') return;