Skip to content

Commit

Permalink
refactor: 필요없는 코드 및 수정 필요한 이름 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
GC-Park committed Oct 17, 2023
1 parent 15d262b commit a85076a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions frontend/src/components/PinImageContainer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ const PinImageContainer = ({ images, getPinData }: PinImageContainerProps) => {
openModal();
};

console.log(isModalOpen);
return (
<>
<FilmList>
Expand All @@ -70,13 +69,13 @@ const PinImageContainer = ({ images, getPinData }: PinImageContainerProps) => {
)}
{isModalOpen && (
<ModalPortal closeModalHandler={closeModal}>
<ImageModalWrapper>
<ModalImageWrapper>
<ModalImage src={modalImage} />
<Space size={3} />
<Button variant="custom" onClick={closeModal}>
닫기
</Button>
</ImageModalWrapper>
</ModalImageWrapper>
</ModalPortal>
)}
</FilmList>
Expand Down Expand Up @@ -109,7 +108,7 @@ const RemoveImageIconWrapper = styled.div`
}
`;

const ImageModalWrapper = styled.div`
const ModalImageWrapper = styled.div`
width: 100%;
height: 100%;
Expand Down

0 comments on commit a85076a

Please sign in to comment.