From 45aa63d012b99a6a3a1a4a5289a4c0328cffb2dc Mon Sep 17 00:00:00 2001 From: corned Date: Fri, 6 Sep 2024 10:48:44 +0300 Subject: [PATCH] removed unused log --- client/src/components/Timeline/Timeline.jsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/client/src/components/Timeline/Timeline.jsx b/client/src/components/Timeline/Timeline.jsx index fed9666..24c9b84 100644 --- a/client/src/components/Timeline/Timeline.jsx +++ b/client/src/components/Timeline/Timeline.jsx @@ -64,6 +64,7 @@ const Timeline = ({ const mouseRelativeToTarget = (mouseX - targetLeft) / targetWidth + // I'm sorry this is awful const startHour = Math.floor(mouseRelativeToTarget * 24) const startMinute = (Math.floor(mouseRelativeToTarget * 24 * 4) % 4) * 15 @@ -73,9 +74,6 @@ const Timeline = ({ const startTime = (`${startHour.toString().padStart(2, "0")}:${startMinute.toString().padStart(2, "0")}`) const endTime = (`${endHour.toString().padStart(2, "0")}:${endMinute.toString().padStart(2, "0")}`) - console.log(startTime, endTime); - - safeHandleOpenNewReservationModal({ startTime, endTime }) }