Skip to content

Commit

Permalink
remove logs
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinarau committed Mar 7, 2024
1 parent 475f665 commit 5255138
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,6 @@ const getMapPosition = (coords: Coordinates | undefined): MapPosition => {
};

const parseBoat = (deviceSample: any): Boat => {
console.log(moment(deviceSample.takenAt, 'YYYY-MM-DD HH:mm'))

return {
id: deviceSample.deviceId,
coordinates: { lat: deviceSample.latitude, lng: deviceSample.longitude },
Expand Down Expand Up @@ -116,7 +114,6 @@ const MapWithVehicles: NextPage<ServerSideProps> = ({
const interval = setInterval(async () => {
const newBoats = await fetchBoats("")
setBoats(newBoats)
console.log(newBoats)
}, 20000);
return () => clearInterval(interval);
}, []);
Expand Down

0 comments on commit 5255138

Please sign in to comment.