From b2c6c499f2fcfdfb664ddbfb48e867086cb3d02b Mon Sep 17 00:00:00 2001 From: panteliselef Date: Wed, 18 Oct 2023 14:18:30 +0300 Subject: [PATCH] chore(clerk-js): Update after rebase --- .../ui/components/OrganizationProfile/ActiveMembersList.tsx | 2 +- packages/shared/src/react/hooks/usePagesOrInfinite.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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));