feature/IO-3497-Ant-Design-v5-to-v6 - Checkpoint (Apollo)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { useLazyQuery } from "@apollo/client";
|
||||
import { useLazyQuery } from "@apollo/client/react";
|
||||
import { Button, Form, Modal, Table } from "antd";
|
||||
import { useEffect } from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
@@ -35,10 +35,8 @@ export function ContractsFindModalContainer({ contractFinderModal, toggleModalVi
|
||||
|
||||
//Execute contract find
|
||||
callSearch({
|
||||
variables: {
|
||||
plate: (values.plate && values.plate !== "" && values.plate) || undefined,
|
||||
time: values.time
|
||||
}
|
||||
plate: (values.plate && values.plate !== "" && values.plate) || undefined,
|
||||
time: values.time
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user