Skip to content

Commit

Permalink
fixed: 멀티페이지 뷰에서 추가할 수 있도록 됨에 따라 <페이지 합치기> 버튼 삭제 #234
Browse files Browse the repository at this point in the history
  • Loading branch information
Oris482 committed Aug 4, 2022
1 parent a7405e0 commit 6347544
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
9 changes: 1 addition & 8 deletions src/components/MyPage/Azone.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import { css } from '@emotion/react';
import ProfileBlock from './ProfileBlock';

function Azone({ myInfo, setPopUp, popUp, setBindingPopUp, bindingPopUp }) {
function Azone({ myInfo, setPopUp, popUp, bindingPopUp }) {
return (
<div css={MyPageAZone}>
<div
Expand Down Expand Up @@ -65,13 +65,6 @@ function Azone({ myInfo, setPopUp, popUp, setBindingPopUp, bindingPopUp }) {
text-align: center;
`}
>
<ProfileBlock
// 기존에 있던 버튼 컴포넌트 재활용_이름 변경 혹은 별도 컴포넌트로 분리 필요
addBlock
setPopUp={setBindingPopUp}
popUp={bindingPopUp}
buttonText='페이지 합치기'
/>
<ProfileBlock
addBlock
setPopUp={setPopUp}
Expand Down
1 change: 0 additions & 1 deletion src/pages/MyPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,6 @@ function MyPage() {
myInfo={myInfo}
setPopUp={setProfilePopUp}
popUp={profilePopUp}
setBindingPopUp={setBindingPopUp}
bindingPopUp={bindingPopUp}
/>
<hr css={[divLine]} />
Expand Down

0 comments on commit 6347544

Please sign in to comment.