Skip to content

Conversation

@venise5224
Copy link
Collaborator

로그아웃 시 로그인 페이지로 리다이렉트 해놓았습니다.

item.href ? (
<Link key={index} href={item.href} className={buttonStyle}>
<Link
key={index}
Copy link
Collaborator

Choose a reason for hiding this comment

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

key=new Date() 로 하는게 좋을것같아요!

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

new Date() 도 컴포넌트가 생성될때마다 달라지니 고유성이 보장되지 않는거같아요 ㅠ_ㅠ
item.label은 고유할테니 이값으로 key를 설정할게요 !

},
{
label: "로그아웃",
href: "/login",
Copy link
Collaborator

Choose a reason for hiding this comment

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

저의 개인적인 의견으로는 랜딩페이지로 이동 시키는게 낫지않을까 싶습니닷

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

옙 알겠습니당

Copy link
Collaborator

@hongggyelim hongggyelim left a comment

Choose a reason for hiding this comment

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

수고하셨습니닷!

Copy link
Collaborator

@junjeeong junjeeong left a comment

Choose a reason for hiding this comment

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

확인했습니다

@venise5224 venise5224 merged commit c1bd5cc into develop Nov 14, 2024
1 check 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.

4 participants