feature/IO-3497-Ant-Design-v5-to-v6 - Checkpoint (Apollo)

This commit is contained in:
Dave
2026-01-13 12:15:19 -05:00
parent f99f8ab7f8
commit 912d503ef8
263 changed files with 800 additions and 681 deletions

View File

@@ -1,5 +1,5 @@
import { DeleteFilled, DownloadOutlined, PlusCircleFilled, SyncOutlined } from "@ant-design/icons";
import { useMutation } from "@apollo/client";
import { useMutation } from "@apollo/client/react";
import { Alert, Button, Card, Input, Space, Table } from "antd";
import { useState } from "react";
import { useTranslation } from "react-i18next";

View File

@@ -1,4 +1,5 @@
import { gql, useApolloClient, useLazyQuery, useMutation, useQuery } from "@apollo/client";
import { useApolloClient, useLazyQuery, useMutation, useQuery } from "@apollo/client/react";
import { gql } from "@apollo/client";
import { useTreatmentsWithConfig } from "@splitsoftware/splitio-react";
import { Col, Row } from "antd";
import Axios from "axios";
@@ -368,12 +369,12 @@ export function JobsAvailableContainer({ bodyshop, currentUser, insertAuditTrail
};
const addJobAsNew = (record) => {
loadEstData({ variables: { id: record.id } });
loadEstData({ id: record.id });
setOwnerModalVisible(true);
};
const addJobAsSupp = useCallback((record) => {
loadEstData({ variables: { id: record.id } });
loadEstData({ id: record.id });
modalSearchState[1](record.clm_no);
setJobModalVisible(true);
}, []);