Lint all the things

This commit is contained in:
Dave
2025-08-19 16:23:29 -04:00
parent f6d6b548be
commit 33fb60ca1a
640 changed files with 2129 additions and 3927 deletions

View File

@@ -1,5 +1,4 @@
import { Divider, Form, Select } from "antd";
import React from "react";
import { useTranslation } from "react-i18next";
import { connect } from "react-redux";
import { createStructuredSelector } from "reselect";

View File

@@ -2,7 +2,7 @@ import { useMutation } from "@apollo/client";
import { Button, Card, Form, Space } from "antd";
import axios from "axios";
import dayjs from "../../utils/day";
import React, { useState } from "react";
import { useState } from "react";
import { useTranslation } from "react-i18next";
import { connect } from "react-redux";
import { createStructuredSelector } from "reselect";
@@ -41,7 +41,7 @@ export function TechClockInContainer({ setTimeTicketContext, technician, bodysho
const { t } = useTranslation();
const notification = useNotification();
const emps = bodyshop.employees.filter((e) => e.id === (technician && technician.id))[0];
const emps = bodyshop.employees.filter((e) => e.id === technician?.id)[0];
const TechForm = () => {
if (technician) {
@@ -89,7 +89,7 @@ export function TechClockInContainer({ setTimeTicketContext, technician, bodysho
}
});
if (!!result.errors) {
if (result.errors) {
notification["error"]({
message: t("timetickets.errors.clockingin", {
message: JSON.stringify(result.errors)