Skip to content

Commit

Permalink
feat: 수정 버튼
Browse files Browse the repository at this point in the history
  • Loading branch information
hyo-4 committed May 21, 2024
1 parent 858e49e commit dddf05c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/pages/ApplyEditPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -277,14 +277,16 @@ const ApplyEditPage: React.FC = () => {
</TopTitleBar>
<EditContainer>
<TopWrapper>
{!editing && (
{!editing ? (
<ToggleWrapper>
작성완료
<Toggle
isActive={completed === "작성완료"}
onClick={() => (!editing ? handleCompeletedButton() : null)}
/>
</ToggleWrapper>
) : (
<ToggleWrapper></ToggleWrapper>
)}
{editing ? (
<SaveButton
Expand Down

0 comments on commit dddf05c

Please sign in to comment.