From a179d86e6e8dfbd98d1806d6a2820761d44a416e Mon Sep 17 00:00:00 2001 From: Daniel Bisgrove Date: Fri, 30 Aug 2024 10:53:45 -0400 Subject: [PATCH] Removing duplicate GraphQL --- .../AddExcludedContactModal.graphql | 8 -------- .../AddExcludedContactModal/AddExcludedContactModal.tsx | 2 +- 2 files changed, 1 insertion(+), 9 deletions(-) delete mode 100644 src/components/Tool/Appeal/Modals/AddExcludedContactModal/AddExcludedContactModal.graphql diff --git a/src/components/Tool/Appeal/Modals/AddExcludedContactModal/AddExcludedContactModal.graphql b/src/components/Tool/Appeal/Modals/AddExcludedContactModal/AddExcludedContactModal.graphql deleted file mode 100644 index c04cfd071..000000000 --- a/src/components/Tool/Appeal/Modals/AddExcludedContactModal/AddExcludedContactModal.graphql +++ /dev/null @@ -1,8 +0,0 @@ -mutation AssignContactsToAppeal($input: AssignContactsToAppealMutationInput!) { - assignContactsToAppeal(input: $input) { - appeal { - id - name - } - } -} diff --git a/src/components/Tool/Appeal/Modals/AddExcludedContactModal/AddExcludedContactModal.tsx b/src/components/Tool/Appeal/Modals/AddExcludedContactModal/AddExcludedContactModal.tsx index 707fbd3a1..c2243cbcb 100644 --- a/src/components/Tool/Appeal/Modals/AddExcludedContactModal/AddExcludedContactModal.tsx +++ b/src/components/Tool/Appeal/Modals/AddExcludedContactModal/AddExcludedContactModal.tsx @@ -18,8 +18,8 @@ import { AppealsContext, AppealsType, } from '../../AppealsContext/AppealsContext'; +import { useAssignContactsToAppealMutation } from '../AddContactToAppealModal/AddContactToAppeal.generated'; import { useAppealQuery } from '../AddContactToAppealModal/AppealInfo.generated'; -import { useAssignContactsToAppealMutation } from './AddExcludedContactModal.generated'; const LoadingIndicator = styled(CircularProgress)(({ theme }) => ({ margin: theme.spacing(0, 1, 0, 0),