Skip to content

Commit

Permalink
Update LeftDrawerOrg.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
ARYANSHAH1567 authored Oct 18, 2024
1 parent d347019 commit 1954559
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/LeftDrawerOrg/LeftDrawerOrg.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useQuery } from '@apollo/client';
import { WarningAmberOutlined } from '@mui/icons-material';
import { ORGANIZATIONS_LIST } from 'GraphQl/Queries/Queries';
import { ORGANIZATIONS_LIST_BY_CREATOR_ID } from 'GraphQl/Queries/Queries';
import CollapsibleDropdown from 'components/CollapsibleDropdown/CollapsibleDropdown';
import IconComponent from 'components/IconComponent/IconComponent';
import React, { useEffect, useState } from 'react';
Expand Down Expand Up @@ -49,7 +49,7 @@ const leftDrawerOrg = ({
| { organizations: InterfaceQueryOrganizationsListObject[] }
| undefined;
loading: boolean;
} = useQuery(ORGANIZATIONS_LIST, {
} = useQuery(ORGANIZATIONS_LIST_BY_CREATOR_ID, {
variables: { creatorId: orgId },
});

Expand Down

0 comments on commit 1954559

Please sign in to comment.