Package cleanup & transition to latest apollo.

This commit is contained in:
Patrick Fic
2021-02-24 08:48:55 -08:00
parent 359edea97c
commit 46014261d6
202 changed files with 31740 additions and 1174 deletions

View File

@@ -1,5 +1,5 @@
import { GET_JOB_LINES_BY_PK } from "../../graphql/jobs-lines.queries";
import gql from "graphql-tag";
import { gql } from "@apollo/client";
import _ from "lodash";
export const GetSupplementDelta = async (client, jobId, newLines) => {

View File

@@ -4,7 +4,7 @@ import {
PlusCircleFilled,
SyncOutlined,
} from "@ant-design/icons";
import { useMutation } from "@apollo/react-hooks";
import { useMutation } from "@apollo/client";
import { Button, Input, notification, Space, Table } from "antd";
import React, { useState } from "react";
import { useTranslation } from "react-i18next";

View File

@@ -3,11 +3,11 @@ import {
useLazyQuery,
useMutation,
useQuery,
} from "@apollo/react-hooks";
} from "@apollo/client";
import { notification } from "antd";
import Axios from "axios";
import Dinero from "dinero.js";
import gql from "graphql-tag";
import { gql } from "@apollo/client";
import _ from "lodash";
import React, { useState, useEffect, useCallback } from "react";
import { useTranslation } from "react-i18next";