diff --git a/src/GraphQl/Mutations/OrganizationMutations.ts b/src/GraphQl/Mutations/OrganizationMutations.ts index 8c7debb50c..a939585aaf 100644 --- a/src/GraphQl/Mutations/OrganizationMutations.ts +++ b/src/GraphQl/Mutations/OrganizationMutations.ts @@ -57,8 +57,6 @@ export const REMOVE_SAMPLE_ORGANIZATION_MUTATION = gql` * @returns The created direct chat object. */ - - export const CREATE_CHAT = gql` mutation createChat( $userIds: [ID!]! @@ -114,7 +112,6 @@ export const SEND_MESSAGE_TO_CHAT = gql` } `; - export const MESSAGE_SENT_TO_CHAT = gql` subscription messageSentToChat($userId: ID!) { messageSentToChat(userId: $userId) { diff --git a/src/components/UserPortal/CreateDirectChat/CreateDirectChat.tsx b/src/components/UserPortal/CreateDirectChat/CreateDirectChat.tsx index d98c697354..a8bdfd3d31 100644 --- a/src/components/UserPortal/CreateDirectChat/CreateDirectChat.tsx +++ b/src/components/UserPortal/CreateDirectChat/CreateDirectChat.tsx @@ -5,9 +5,7 @@ import styles from './CreateDirectChat.module.css'; import type { ApolloQueryResult } from '@apollo/client'; import { useMutation, useQuery } from '@apollo/client'; import useLocalStorage from 'utils/useLocalstorage'; -import { - CREATE_CHAT, -} from 'GraphQl/Mutations/OrganizationMutations'; +import { CREATE_CHAT } from 'GraphQl/Mutations/OrganizationMutations'; import Table from '@mui/material/Table'; import TableCell, { tableCellClasses } from '@mui/material/TableCell'; import TableContainer from '@mui/material/TableContainer';