diff --git a/client/src/components/tech-job-clock-in-form/tech-job-clock-in-form.container.jsx b/client/src/components/tech-job-clock-in-form/tech-job-clock-in-form.container.jsx index ae223fc92..cae229746 100644 --- a/client/src/components/tech-job-clock-in-form/tech-job-clock-in-form.container.jsx +++ b/client/src/components/tech-job-clock-in-form/tech-job-clock-in-form.container.jsx @@ -24,7 +24,7 @@ export function TechClockInContainer({ technician, bodyshop }) { refetchQueries: ["QUERY_ACTIVE_TIME_TICKETS"], }); const { t } = useTranslation(); - console.log(moment("2022-05-28T01:43:52.508Z").format("YYYY-MM-DD")); + const handleFinish = async (values) => { setLoading(true); const theTime = (await axios.post("/utils/time")).data; diff --git a/client/src/components/tech-job-clock-out-button/tech-job-clock-out-button.component.jsx b/client/src/components/tech-job-clock-out-button/tech-job-clock-out-button.component.jsx index efdcc25d6..476742d60 100644 --- a/client/src/components/tech-job-clock-out-button/tech-job-clock-out-button.component.jsx +++ b/client/src/components/tech-job-clock-out-button/tech-job-clock-out-button.component.jsx @@ -47,7 +47,7 @@ export function TechClockOffButton({ const handleFinish = async (values) => { logImEXEvent("tech_clock_out_job"); - console.log(values); + setLoading(true); const result = await updateTimeticket({ variables: {