feature/IO-3255-simplified-parts-management - Packages / Housekeeping
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { useApolloClient, useMutation } from "@apollo/client";
|
||||
import { useMutation } from "@apollo/client";
|
||||
import { Form, Modal } from "antd";
|
||||
import { useEffect } from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
@@ -43,8 +43,6 @@ export function NoteUpsertModalContainer({ currentUser, noteUpsertModal, toggleM
|
||||
|
||||
const [form] = Form.useForm();
|
||||
|
||||
const { client } = useApolloClient();
|
||||
|
||||
useEffect(() => {
|
||||
//Required to prevent infinite looping.
|
||||
if (existingNote && open) {
|
||||
|
||||
Reference in New Issue
Block a user