Skip to content

Commit

Permalink
Remove logging
Browse files Browse the repository at this point in the history
  • Loading branch information
tu55eladd committed Aug 15, 2023
1 parent cdc0862 commit 4632f6f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions src/moduler/aktivitet/aktivitet-util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,6 @@ const toHourAndMinutes = (klokkeslett: string | number): Klokkeslett => {
};
} else {
const varighetMinutter = parseInt(klokkeslett.toString());
console.log({ varighetMinutter });

const hour = minutesToHours(varighetMinutter); // Uses floor rounding
const minute = varighetMinutter - 60 * hour;
return { hour, minute };
Expand Down
3 changes: 0 additions & 3 deletions src/moduler/aktivitet/visning/detaljer/MoteDetaljer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ const MoteDetaljer = ({ aktivitet }: Props) => {
}

const moteTid = beregnKlokkeslettVarighet(aktivitet);
console.log('Mote: ', aktivitet.fraDato);
console.log('Mote: ', aktivitet.adresse);
console.log('Formattert:', formatterKlokkeslett(moteTid?.klokkeslett));

return (
<>
Expand Down

0 comments on commit 4632f6f

Please sign in to comment.