Skip to content

Commit

Permalink
refactor: ControlBar 컴포넌트에서 useParams와 useNavigate를 한 줄로 통합
Browse files Browse the repository at this point in the history
  • Loading branch information
seoko97 committed Dec 4, 2024
1 parent d74df42 commit a1aa4de
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions apps/web/src/components/live/ControlBar/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { useParams } from '@tanstack/react-router';
import { useNavigate } from '@tanstack/react-router';
import { useParams, useNavigate } from '@tanstack/react-router';
import { SOCKET_EVENTS } from '@repo/mediasoup';

import CameraOffIc from '@/assets/icons/camera-off.svg?react';
Expand Down

0 comments on commit a1aa4de

Please sign in to comment.