Fix: 블로그 헤더명 수정 안되는 버그 개선 - #48
Merged
Merged
Conversation
boram2445
commented
Jul 23, 2026
Owner
- 블로그 헤더 타이틀이 프로필 수정 타이틀이랑 네이밍이 불일치해 수정해도 헤더 타이틀이 변경되지 않는 문제 개선
헤더가 표시하던 blogName은 가입 시 name으로 한 번 세팅된 뒤 수정 경로가
없어 프로필 설정 변경이 반영되지 않았다. 헤더가 프로필에서 수정 가능한
title을 읽도록 바꾸고 blogName 필드를 전면 제거.
프로필 저장 후 헤더가 갱신되도록 두 캐시 구멍도 함께 수리:
- getUserBySlug 캐시 태그에 profile/${slug} 추가 (프로필 POST가 이 태그를
revalidate하지만 헤더 데이터 경로가 구독하지 않았음)
- ProfileForm 저장 후 헤더 SWR 키(/api/${slug})도 mutate
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.