diff --git a/packages/clerk-js/src/ui/components/OrganizationProfile/ActiveMembersList.tsx b/packages/clerk-js/src/ui/components/OrganizationProfile/ActiveMembersList.tsx index 6a23ac4b64..141a49b99b 100644 --- a/packages/clerk-js/src/ui/components/OrganizationProfile/ActiveMembersList.tsx +++ b/packages/clerk-js/src/ui/components/OrganizationProfile/ActiveMembersList.tsx @@ -9,7 +9,7 @@ import { DataTable, RoleSelect, RowContainer } from './MemberListTable'; export const ActiveMembersList = () => { const card = useCardState(); - const { organization, memberships, ...rest } = useCoreOrganization({ + const { organization, memberships } = useCoreOrganization({ memberships: true, }); diff --git a/packages/shared/src/react/hooks/usePagesOrInfinite.ts b/packages/shared/src/react/hooks/usePagesOrInfinite.ts index 5dc37c8093..6d51342fce 100644 --- a/packages/shared/src/react/hooks/usePagesOrInfinite.ts +++ b/packages/shared/src/react/hooks/usePagesOrInfinite.ts @@ -2,8 +2,8 @@ import { useCallback, useMemo, useRef, useState } from 'react'; -import { useSWR, useSWRInfinite } from './clerk-swr'; -import type { CacheSetter, PaginatedResources, ValueOrSetter } from './types'; +import { useSWR, useSWRInfinite } from '../clerk-swr'; +import type { CacheSetter, PaginatedResources, ValueOrSetter } from '../types'; function getDifferentKeys(obj1: Record, obj2: Record): Record { const keysSet = new Set(Object.keys(obj2));