Lint all the things
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { useApolloClient } from "@apollo/client";
|
||||
import { useSplitTreatments } from "@splitsoftware/splitio-react";
|
||||
import { Button, Popconfirm } from "antd";
|
||||
import React, { useState } from "react";
|
||||
import { useState } from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { connect } from "react-redux";
|
||||
import { useNavigate } from "react-router-dom";
|
||||
@@ -18,7 +18,7 @@ const mapStateToProps = createStructuredSelector({
|
||||
technician: selectTechnician
|
||||
});
|
||||
|
||||
const mapDispatchToProps = (dispatch) => ({
|
||||
const mapDispatchToProps = () => ({
|
||||
//setUserLanguage: language => dispatch(setUserLanguage(language))
|
||||
});
|
||||
export default connect(mapStateToProps, mapDispatchToProps)(JobCreateIOU);
|
||||
@@ -66,7 +66,7 @@ export function JobCreateIOU({ bodyshop, currentUser, job, selectedJobLines, tec
|
||||
cache.modify({
|
||||
id: cache.identify(job.id),
|
||||
fields: {
|
||||
joblines(existingJobLines, { readField }) {
|
||||
joblines(existingJobLines) {
|
||||
return existingJobLines.map((a) => {
|
||||
if (!selectedJobLinesIds.includes(a.id)) return a;
|
||||
return { ...a, ioucreated: true };
|
||||
|
||||
Reference in New Issue
Block a user