Skip to content

Conversation

@mucho7
Copy link
Collaborator

@mucho7 mucho7 commented Aug 29, 2025

  • Post update 페이지와 create 페이지의 동일성을 고려하여 같은 컴포넌트를 사용하도록 수정

수정 내용

  • post 여부에 따라 http method 수정
  • 같은 컴포넌트로 변경 (AddPost > UpdatePost)
    • create의 경우, post = null

Comment on lines 26 to 34

const temporaryFetchPost = async () => {
const res = await fetch(
`${process.env.NEXT_PUBLIC_API_DOMAIN}/api/v1/posting/github/${replaceId(id)}/${slug}`,
)
const { data } = await res.json()
return data
}

Copy link
Collaborator

Choose a reason for hiding this comment

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

삭제해주세용

@tevem1207 tevem1207 merged commit f10713a into develop Aug 29, 2025
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.

3 participants