Open
Conversation
Gn0lee
approved these changes
Apr 9, 2025
| "use client"; | ||
| import { useState } from "react"; | ||
| import HomeContainer from "@/app/_components/Home"; | ||
| import RecruitContainer from "./_components/Recruit"; |
| <ProjectSection /> | ||
| <CrewMembersSection /> | ||
| </> | ||
| <>{homePageMode === "home" ? <HomeContainer /> : <RecruitContainer />}</> |
Collaborator
There was a problem hiding this comment.
상태를 내부에서 바꾸는것이 아니라면 굳이 state를 사용하지 않아도 괜찮을 것 같아요
지금 생각나는 것은 vercel의 edge config도 좋습니다.
https://vercel.com/docs/edge-config/get-started
하지만 이것은 나중에 생각해야할 것 같아요
Collaborator
Author
There was a problem hiding this comment.
그렇네요 상태 사용할 필요가 없었네요ㅎㅎ 수정해놓겠습니다.
edge config 딱 저희가 찾는 거 같네요
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
작업 내용