Skip to content

Commit

Permalink
Merge pull request #25 from Nexters/feat/#10
Browse files Browse the repository at this point in the history
fix : 배포 error 수정 _ 버튼 props, 쓰지 않는 컴포넌트 제거
  • Loading branch information
narinn-star authored Feb 15, 2025
2 parents d9b4495 + 268a118 commit 91a95ce
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 12 deletions.
6 changes: 5 additions & 1 deletion apps/ziine/src/app/artwork/register/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,11 @@ const ArtworkRegisterPage = () => {
dropdownIsOpen={isOpen}
/>

<Button onClick={handleRegisterFormData} disabled={isRegisterBtnDisabled} text='등록 신청하기'></Button>
<Button
onClick={handleRegisterFormData}
disabled={isRegisterBtnDisabled}
children={<Typography level='subtitle2' />}
></Button>
</div>
);
};
Expand Down
2 changes: 1 addition & 1 deletion apps/ziine/src/app/artwork/success/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const ArtworkRegisterSuccessPage = () => {
maxWidth: '870px',
})}
>
<Button text={'홈으로 이동하기'} type='sub' />
<Button children={<Typography level='subtitle2' />} type='sub' onClick={() => {}} />
</Link>
</div>
);
Expand Down
11 changes: 1 addition & 10 deletions packages/design/src/components/input/input.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { inputFatStyle, inputStyle, container, dropdownStyle, dropdownContainer } from './input.styles';
import { inputFatStyle, inputStyle, container } from './input.styles';
import { css, cx } from '@/styled-system/css';
import { Typography } from '../typography';
import { ChangeEvent } from 'react';
Expand Down Expand Up @@ -122,12 +122,3 @@ export const ImgInput = ({ placeholder, img, value, onChangeInstagramId, onChang
</div>
);
};

interface DropdownProps {
placeholder: string;
options: string[];
value: string;
onChange: (e: React.ChangeEvent<HTMLInputElement>) => void;
dropdownValue: string;
onChangeOption: (e: React.ChangeEvent<HTMLSelectElement>) => void;
}

0 comments on commit 91a95ce

Please sign in to comment.