Skip to content

Commit f64bb09

Browse files
committed
refactor: move hooks to standalone directory
1 parent 23b1aaf commit f64bb09

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed

components/embed/session-view.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,14 @@ import { PhoneDisconnectIcon } from '@phosphor-icons/react/dist/ssr';
1313

1414
import { toastAlert } from '@/components/alert-toast';
1515
import { Button } from '@/components/ui/button';
16-
import { useAgentControlBar } from '@/components/livekit/agent-control-bar/hooks/use-agent-control-bar';
1716
import { DeviceSelect } from '@/components/livekit/device-select';
1817
import { TrackToggle } from '@/components/livekit/track-toggle';
1918
import { useDebugMode } from '@/hooks/useDebug';
2019
import type { AppConfig } from '@/lib/types';
2120
import { cn } from '@/lib/utils';
2221

22+
import { useAgentControlBar } from './hooks/use-agent-control-bar';
23+
2324
function isAgentAvailable(agentState: AgentState) {
2425
return agentState == 'listening' || agentState == 'thinking' || agentState == 'speaking';
2526
}

0 commit comments

Comments
 (0)