fix: 릴리즈 편집 하단 버튼이 두 벌 나오던 것을 하나로 되돌린다
저장·공개·공개에서 내리기가 각각 두 개씩 나왔다. 편집 폼을 목록에서 떼어 낼 때 잘라 온 조각에 이미 그 푸터가 들어 있었는데, 새 화면을 조립하면서 같은 푸터를 한 번 더 붙였다. 둘 다 같은 핸들러를 부르므로 어느 쪽을 눌러도 동작은 했고, 그래서 화면을 열어 개수를 세기 전까지는 드러나지 않았다. 자식이 하나뿐이라 감쌀 이유가 없어진 프래그먼트도 함께 걷어낸다. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XEHXspz4rv5pB5wiiSsVDu
This commit is contained in:
co-authored by
Claude Opus 5
parent
e9b866184a
commit
ab67eb912c
@@ -228,8 +228,7 @@ export function ReleaseEditor() {
|
|||||||
) : null}
|
) : null}
|
||||||
|
|
||||||
{draft === null ? null : (
|
{draft === null ? null : (
|
||||||
<>
|
<section className="studio-editor-section" aria-labelledby="studio-release-edit-title">
|
||||||
<section className="studio-editor-section" aria-labelledby="studio-release-edit-title">
|
|
||||||
<div className="studio-editor-section-heading">
|
<div className="studio-editor-section-heading">
|
||||||
<p className="studio-eyebrow">RELEASE · {draft.versionLabel}</p>
|
<p className="studio-eyebrow">RELEASE · {draft.versionLabel}</p>
|
||||||
<h2 id="studio-release-edit-title">{draft.title || "릴리즈"}</h2>
|
<h2 id="studio-release-edit-title">{draft.title || "릴리즈"}</h2>
|
||||||
@@ -332,34 +331,7 @@ export function ReleaseEditor() {
|
|||||||
공개에서 내리기
|
공개에서 내리기
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div className="studio-create-footer">
|
</section>
|
||||||
<button
|
|
||||||
className="studio-primary-button"
|
|
||||||
type="button"
|
|
||||||
disabled={pending}
|
|
||||||
onClick={() => void save()}
|
|
||||||
>
|
|
||||||
저장
|
|
||||||
</button>
|
|
||||||
<button
|
|
||||||
className="studio-secondary-button"
|
|
||||||
type="button"
|
|
||||||
disabled={pending}
|
|
||||||
onClick={() => void publish()}
|
|
||||||
>
|
|
||||||
공개
|
|
||||||
</button>
|
|
||||||
<button
|
|
||||||
className="studio-secondary-button"
|
|
||||||
type="button"
|
|
||||||
disabled={pending}
|
|
||||||
onClick={() => void archive()}
|
|
||||||
>
|
|
||||||
공개에서 내리기
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
</>
|
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user