Skip to content

Commit

Permalink
fix: 페이지 생성 onclick 오류 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
play3step committed Mar 12, 2024
1 parent 3162ce4 commit 8e2c891
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/ProjectPage/SlideComponents/atom/AddSlide.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import { ReactComponent as Page3d } from '../../../../assets/icon/3d.svg';
function AddSlide({ onClick }) {
return (
<AddSlideBox>
<Button onClick={onClick('2d')}>
<Button onClick={() => onClick('2d')}>
<Page2d width="4.375vw" height="7.777777777777778vh" />
</Button>
<Button onClick={onClick('3d')}>
<Button onClick={() => onClick('3d')}>
<Page3d width="4.375vw" height="7.777777777777778vh" />
</Button>
</AddSlideBox>
Expand Down

0 comments on commit 8e2c891

Please sign in to comment.