From 29c77f02b00c5092bae821d3316f9588137f7f37 Mon Sep 17 00:00:00 2001
From: sayyyho <323psh@naver.com>
Date: Tue, 10 Sep 2024 17:02:54 +0900
Subject: [PATCH] =?UTF-8?q?Fix:=20RTC=20UI=20=EC=88=98=EC=A0=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/Common/Layout.jsx | 4 ++--
src/pages/WebRTC/VideoPage.jsx | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/components/Common/Layout.jsx b/src/components/Common/Layout.jsx
index fb7aa94..34e46ee 100644
--- a/src/components/Common/Layout.jsx
+++ b/src/components/Common/Layout.jsx
@@ -4,12 +4,12 @@ import Header from "./Header";
import Footer from "./Footer";
import { LayoutContainer, MainContent } from "./Layout.styled";
-const Layout = ({ children }) => {
+const Layout = ({ children, noneHeader }) => {
return (
<>
-
+ {!noneHeader && }
{children}
diff --git a/src/pages/WebRTC/VideoPage.jsx b/src/pages/WebRTC/VideoPage.jsx
index 3dcd657..3b46b96 100644
--- a/src/pages/WebRTC/VideoPage.jsx
+++ b/src/pages/WebRTC/VideoPage.jsx
@@ -125,7 +125,7 @@ const RTCPage = () => {
}, [roomName]); // Add roomName to the dependency array to ensure updates
return (
-
+