Skip to content

Commit

Permalink
fix: AudioPlayer Props 에서 nickname 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
seoko97 committed Nov 28, 2024
1 parent 77d0a1a commit 32bf0eb
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ import { useEffect, useRef } from 'react';

import { VideoPlayerProps } from '@/components/live/StreamView/List/VideoPlayer';

function AudioPlayer({ stream, paused = false }: VideoPlayerProps) {
type AudioPlayerProps = Omit<VideoPlayerProps, 'nickname'>;

function AudioPlayer({ stream, paused = false }: AudioPlayerProps) {
const audioRef = useRef<HTMLAudioElement>(null);

useEffect(() => {
Expand Down

0 comments on commit 32bf0eb

Please sign in to comment.