Skip to content

Commit

Permalink
fix: imports for useToggleCallRecording (#1548)
Browse files Browse the repository at this point in the history
Fix the wrong imports in the `callUtilHooks.ts`
  • Loading branch information
kristian-mkd authored Nov 1, 2024
1 parent c3a8bc3 commit f6b2180
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/react-bindings/src/hooks/callUtilHooks.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useCallback, useEffect, useState } from 'react';
import { useCall, useCallStateHooks } from '@stream-io/video-react-bindings';

import { useCall } from '../contexts';
import { useIsCallRecordingInProgress } from './callStateHooks';
/**
* Custom hook for toggling call recording in a video call.
*
Expand All @@ -10,7 +10,6 @@ import { useCall, useCallStateHooks } from '@stream-io/video-react-bindings';
*/
export const useToggleCallRecording = () => {
const call = useCall();
const { useIsCallRecordingInProgress } = useCallStateHooks();
const isCallRecordingInProgress = useIsCallRecordingInProgress();
const [isAwaitingResponse, setIsAwaitingResponse] = useState(false);

Expand Down

0 comments on commit f6b2180

Please sign in to comment.