Skip to content

Commit

Permalink
console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
MrFjellstad committed Dec 17, 2024
1 parent 8ce5abf commit bb45b32
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
2 changes: 0 additions & 2 deletions pages/[...slug].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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],
Expand Down
7 changes: 0 additions & 7 deletions pages/kvittering/[kvittid].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -131,13 +131,6 @@ const Kvittering: NextPage<InferGetServerSidePropsType<typeof getServerSideProps
? parseIsoDate(bestemmendeFravaersdag)
: foreslaattBestemmendeFravaersdag;

console.log(
'bestemmendeFravaersdag',
bestemmendeFravaersdag,
foreslaattBestemmendeFravaersdag,
visningBestemmendeFravaersdag
);

useEffect(() => {
if (!fravaersperioder && !kvitteringEksterntSystem?.avsenderSystem) {
if (!kvitteringSlug || kvitteringSlug === '') return;
Expand Down

0 comments on commit bb45b32

Please sign in to comment.