Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify : Post컴포넌트 navigate기능 수정, API 분리 #108

Closed
yeon1615 opened this issue Dec 20, 2022 · 0 comments · Fixed by #111
Closed

Modify : Post컴포넌트 navigate기능 수정, API 분리 #108

yeon1615 opened this issue Dec 20, 2022 · 0 comments · Fixed by #111
Assignees
Labels
enhancement New feature or request

Comments

@yeon1615
Copy link
Contributor

yeon1615 commented Dec 20, 2022

Description

  • Post컴포넌트의 본문을 누르면 해당 게시글의 상세페이지로 이동하는 기능을 수정합니다
  • 현재 위치가 프로필 페이지인 경우에만 상세페이지로 이동하도록 수정합니다
  • 유저 배너 컴포넌트를 누르면 프로필페이지로 이동하는 기능은 프로필 페이지 구현 완료 후 추가하겠습니다

Code

기여자

원인

해결법

  • useMatch 훅을 이용합니다
@yeon1615 yeon1615 added the enhancement New feature or request label Dec 20, 2022
@yeon1615 yeon1615 changed the title Modify : Post컴포넌트 navigate기능 수정 Modify : Post컴포넌트 navigate기능 수정, API 분리 Dec 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
4 participants