Skip to content

Commit

Permalink
Merge pull request #438 from sparcs-kaist/fix/template/new-line
Browse files Browse the repository at this point in the history
fix(template): change InputBox to TextAreaInputBox
  • Loading branch information
minjoo0729 authored Nov 20, 2023
2 parents 8c2b8a6 + 2b8725b commit 1122a2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/web/src/components/organisms/EditTemplateModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const EditTemplateModal: React.FC = () => {
const onChangeAgendaTitle = (e: React.ChangeEvent<HTMLInputElement>) => {
setAgendaTitle(e.target.value);
};
const onChangeAgendaContent = (e: React.ChangeEvent<HTMLInputElement>) => {
const onChangeAgendaContent = (e: React.ChangeEvent<HTMLTextAreaElement>) => {
setAgendaContent(e.target.value);
};
const onChangeAgendaResolution = (e: React.ChangeEvent<HTMLInputElement>) => {
Expand Down Expand Up @@ -113,7 +113,7 @@ export const EditTemplateModal: React.FC = () => {
</ModalInner>

<ModalInner title="투표 설명" required>
<ModalInner.InputBox
<ModalInner.TextAreaInputBox
onChange={onChangeAgendaContent}
value={agendaContent}
/>
Expand Down

0 comments on commit 1122a2a

Please sign in to comment.