Skip to content

fix: Layout에서 Footer 이중 렌더링 제거 - #102

Merged
pkhamin merged 1 commit into
ZERONE-HOMEPAGE:mainfrom
Zaehyeon2:fix/layout-duplicate-footer
May 9, 2026
Merged

pkhamin merged 1 commit into
ZERONE-HOMEPAGE:mainfrom
Zaehyeon2:fix/layout-duplicate-footer

Conversation

@Zaehyeon2

Copy link
Copy Markdown
Contributor

Summary

  • Layout 컴포넌트에서 <Footer />가 2번 렌더링되는 버그를 수정합니다.

Problem

// Before — Footer가 항상 2번 렌더링됨
{!isLoginPage && <Footer />}
<Footer />                    // ← 무조건 렌더링되는 중복

로그인 페이지가 아닌 경우 Footer 2개, 로그인 페이지에서도 Footer 1개가 렌더링됩니다.
현재 Footer가 hidden이라 시각적 문제는 없지만, Footer 구현 시 즉시 이중 렌더링 문제가 발생합니다.

Changes

// After — 중복 제거
{!isLoginPage && <Footer />}

Test plan

  • 메인 페이지에서 Footer가 1번만 렌더링되는지 확인
  • 로그인 페이지에서 Footer가 표시되지 않는지 확인

조건부 Footer와 무조건 Footer가 동시에 존재하여
Footer가 항상 2번 렌더링되는 버그 수정.
@vercel

vercel Bot commented Mar 25, 2026

Copy link
Copy Markdown

@Zaehyeon2 is attempting to deploy a commit to the zerone's projects Team on Vercel.

A member of the Team first needs to authorize it.

@pkhamin
pkhamin merged commit ba33b2d into ZERONE-HOMEPAGE:main May 9, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants