Skip to content

refactor: 불필요한 상수 및 useRouter 제거#332

Merged
dle234 merged 1 commit intomainfrom
refactor/remove-unused-constants
Feb 28, 2026
Merged

refactor: 불필요한 상수 및 useRouter 제거#332
dle234 merged 1 commit intomainfrom
refactor/remove-unused-constants

Conversation

@Superkid0714
Copy link
Collaborator

@Superkid0714 Superkid0714 commented Feb 28, 2026

관련 이슈

작업 분류

  • 버그 수정

PR을 통해 해결하려는 문제가 무엇인가요? 🚀

지원 접수 기간임에도 불구하고 운영 환경에서 "1차 모집 시작 전입니다."
alert이 노출되는 버그를 수정합니다.

PR에서 핵심적으로 변경된 부분이 어떤 부분인가요? 👀

app/application/page.tsx에서 모집 시작일 체크 useEffect 제거

이런 부분을 신경써서 봐주셨으면 좋겠어요. 🙋🏻‍♂️

제거 후에도 지원서 페이지 진입이 정상적으로 동작하는지 확인 부탁드립니다.

체크리스트 ✅

  • reviewers 설정
  • assignees 설정
  • label 설정

@Superkid0714 Superkid0714 self-assigned this Feb 28, 2026
@Superkid0714 Superkid0714 added the bug 버그 리포트, 버그 제보, 정상적인 기능 수행을 하지 못하는 경우 label Feb 28, 2026
@gemini-code-assist
Copy link

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

이 PR은 운영 환경에서 지원 접수 기간임에도 불구하고 "1차 모집 시작 전입니다."라는 잘못된 알림이 표시되는 버그를 해결합니다. 이를 위해 app/application/page.tsx 파일에서 모집 시작일을 확인하고 리다이렉션하던 불필요한 useEffect 훅과 관련 상수 및 useRouter 훅을 제거했습니다. 이 변경으로 인해 지원서 페이지 진입 시 불필요한 검증 로직이 사라져 사용자 경험이 개선될 것으로 예상됩니다.

Highlights

  • 불필요한 상수 제거: PRODUCTION_HOSTNAME 상수가 더 이상 사용되지 않아 제거되었습니다.
  • useRouter 훅 제거: 모집 시작일 체크 로직과 함께 useRouter 훅이 제거되었습니다.
  • 모집 시작일 체크 로직 제거: 운영 환경에서 잘못된 "1차 모집 시작 전입니다." 알림을 유발하던 useEffect 기반의 모집 시작일 체크 로직이 제거되었습니다.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Changelog
  • frontend/app/application/page.tsx
    • PRODUCTION_HOSTNAME 상수 임포트가 제거되었습니다.
    • useRouter 훅 임포트가 제거되었습니다.
    • START_DATE 상수 사용 및 router 인스턴스 초기화가 제거되었습니다.
    • 모집 시작일 체크 및 리다이렉션 로직을 포함하는 useEffect 훅이 제거되었습니다.
Activity
  • 새로운 변경 사항이 푸시되었습니다.
  • 리뷰어들이 변경 사항을 검토할 준비가 되었습니다.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

이번 PR은 지원서 접수 기간임에도 불구하고 모집 시작 전이라는 알림이 뜨는 버그를 수정하기 위해, 클라이언트 측에서 모집 시작일을 검증하는 로직을 제거했습니다. 관련 useEffect 훅과 더불어 불필요해진 PRODUCTION_HOSTNAME 상수, useRouter 훅 등의 의존성도 함께 정리되었습니다. 변경 사항은 명확하며, 기술된 문제를 해결하는 적절한 접근으로 보입니다. 코드에서 다른 문제점은 발견되지 않았습니다.

@dle234 dle234 merged commit 8739959 into main Feb 28, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug 버그 리포트, 버그 제보, 정상적인 기능 수행을 하지 못하는 경우

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants