From 7d97632cdafb663b06c36abf90368a7a4e0e8c2d Mon Sep 17 00:00:00 2001 From: a-wing <1@233.email> Date: Sun, 22 Dec 2024 16:21:24 +0800 Subject: [PATCH] fix(webapp): eslint --- webapp/components/player/player.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/components/player/player.tsx b/webapp/components/player/player.tsx index 446981a..85a6664 100644 --- a/webapp/components/player/player.tsx +++ b/webapp/components/player/player.tsx @@ -99,7 +99,7 @@ export default function Player(props: { stream: MediaStream, muted: boolean, aud muted={props.muted} ref={refVideo} style={props.stream?.getVideoTracks().length - ? { width: props.width, display: props.video ? "inline" : "none"} + ? { width: props.width, display: props.video ? 'inline' : 'none'} : { height: '0px' }} /> {!props.video || showAudio