Skip to content

Commit

Permalink
Fix: RTC UI 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
sayyyho committed Sep 10, 2024
1 parent 2fb48dc commit 29c77f0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/components/Common/Layout.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
<>
<Background></Background>
<LayoutContainer>
<Header />
{!noneHeader && <Header />}
<MainContent>{children}</MainContent>
<Footer />
</LayoutContainer>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/WebRTC/VideoPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ const RTCPage = () => {
}, [roomName]); // Add roomName to the dependency array to ensure updates

return (
<Layout>
<Layout noneHeader={true}>
<MiniLayout text={"실시간 커넥션"} layerWidth={"70%"} isButton={true}>
<S.VideoLayout>
<div
Expand Down

0 comments on commit 29c77f0

Please sign in to comment.