Skip to content

Commit

Permalink
removed extra
Browse files Browse the repository at this point in the history
  • Loading branch information
SiddheshKukade committed Sep 23, 2023
1 parent fca3778 commit 8d8bb56
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/screens/UserPortal/Organizations/Organizations.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ import {
USER_JOINED_ORGANIZATIONS,
USER_ORGANIZATION_CONNECTION,
} from 'GraphQl/Queries/Queries';
import { useQuery, useSubscription } from '@apollo/client';
import { useQuery } from '@apollo/client';
import { SearchOutlined } from '@mui/icons-material';
import styles from './Organizations.module.css';
import { useTranslation } from 'react-i18next';
import HourglassBottomIcon from '@mui/icons-material/HourglassBottom';
import { PLUGIN_SUBSCRIPTION } from 'GraphQl/Mutations/mutations';

interface InterfaceOrganizationCardProps {
id: string;
name: string;
Expand Down Expand Up @@ -86,10 +86,7 @@ export default function organizations(): JSX.Element {

refetch(filter);
};
const { data: datSub, loading: loadingSub } = useSubscription(
PLUGIN_SUBSCRIPTION
// { variables: { } }
);

/* istanbul ignore next */
React.useEffect(() => {
if (data) {
Expand Down

0 comments on commit 8d8bb56

Please sign in to comment.