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,10 +1,9 @@
import { MinusCircleTwoTone, PlusCircleTwoTone, SyncOutlined } from "@ant-design/icons";
import { Button, Card, Input, Space, Table } from "antd";
import React, { useState } from "react";
import { useState } from "react";
import { useTranslation } from "react-i18next";
import { connect } from "react-redux";
import { createStructuredSelector } from "reselect";
import { selectJobReadOnly } from "../../redux/application/application.selectors";
import { selectBodyshop } from "../../redux/user/user.selectors";
import { TemplateList } from "../../utils/TemplateConstants";
import { alphaSort } from "../../utils/sorters";
@@ -12,13 +11,12 @@ import PartsDispatchExpander from "../parts-dispatch-expander/parts-dispatch-exp
import PrintWrapperComponent from "../print-wrapper/print-wrapper.component";
const mapStateToProps = createStructuredSelector({
jobRO: selectJobReadOnly,
bodyshop: selectBodyshop
});
const mapDispatchToProps = (dispatch) => ({});
const mapDispatchToProps = () => ({});
export function PartDispatchTableComponent({ bodyshop, jobRO, job, billsQuery, handleOnRowClick }) {
export function PartDispatchTableComponent({ bodyshop, job, billsQuery }) {
const { t } = useTranslation();
const [state, setState] = useState({
@@ -117,7 +115,7 @@ export function PartDispatchTableComponent({ bodyshop, jobRO, job, billsQuery, h
}}
expandable={{
expandedRowRender: (record) => <PartsDispatchExpander dispatch={record} job={job} />,
rowExpandable: (record) => true,
rowExpandable: () => true,
expandIcon: ({ expanded, onExpand, record }) =>
expanded ? (