From 84c260ee1dcd2f54cf1a187e681e7ce570c0998e Mon Sep 17 00:00:00 2001 From: Anton Arnautov Date: Tue, 26 Sep 2023 12:46:17 +0200 Subject: [PATCH] Do not export hook, SDK use only --- .../react-sdk/src/core/components/CallLayout/SpeakerLayout.tsx | 2 +- packages/react-sdk/src/core/hooks/index.ts | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/react-sdk/src/core/components/CallLayout/SpeakerLayout.tsx b/packages/react-sdk/src/core/components/CallLayout/SpeakerLayout.tsx index f7cfa0f31e..db147f0582 100644 --- a/packages/react-sdk/src/core/components/CallLayout/SpeakerLayout.tsx +++ b/packages/react-sdk/src/core/components/CallLayout/SpeakerLayout.tsx @@ -23,7 +23,7 @@ import { useVerticalScrollPosition, } from '../../../hooks'; import clsx from 'clsx'; -import { useCalculateHardLimit } from '../../hooks'; +import { useCalculateHardLimit } from '../../hooks/useCalculateHardLimit'; export type SpeakerLayoutProps = { ParticipantViewUISpotlight?: ParticipantViewProps['ParticipantViewUI']; diff --git a/packages/react-sdk/src/core/hooks/index.ts b/packages/react-sdk/src/core/hooks/index.ts index 912c60c2f8..93e2f23dbd 100644 --- a/packages/react-sdk/src/core/hooks/index.ts +++ b/packages/react-sdk/src/core/hooks/index.ts @@ -2,4 +2,3 @@ export * from './useAudioPublisher'; export * from './useDevices'; export * from './useVideoPublisher'; export * from './useTrackElementVisibility'; -export * from './useCalculateHardLimit';