feature/IO-3497-Ant-Design-v5-to-v6 - Checkpoint (Apollo)
This commit is contained in:
@@ -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";
|
||||
|
||||
@@ -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);
|
||||
}, []);
|
||||
|
||||
Reference in New Issue
Block a user