Skip to content

Commit

Permalink
less circular deps
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasIO committed Sep 27, 2024
1 parent 3929499 commit d51f824
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/react/src/hooks/cloud/krisp/useKrispNoiseFilter.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import * as React from 'react';
import { type TrackReferenceOrPlaceholder, useLocalParticipant } from '../../../index';
import { LocalAudioTrack } from 'livekit-client';
import type { KrispNoiseFilterProcessor, NoiseFilterOptions } from '@livekit/krisp-noise-filter';
import type { TrackReferenceOrPlaceholder } from '@livekit/components-core';
import { useLocalParticipant } from '../../useLocalParticipant';

/**
* @alpha
Expand All @@ -22,7 +23,6 @@ export interface useKrispNoiseFilterOptions {
* @note Krisp noise filter is a feature that's only supported on LiveKit cloud plans
* @alpha
*/
/* @__PURE__ */
export function useKrispNoiseFilter(options: useKrispNoiseFilterOptions = {}) {
const [shouldEnable, setShouldEnable] = React.useState(false);
const [isNoiseFilterPending, setIsNoiseFilterPending] = React.useState(false);
Expand Down

0 comments on commit d51f824

Please sign in to comment.