Skip to content

Commit

Permalink
fix(usertag): change InputBox to TextAreaInputBox
Browse files Browse the repository at this point in the history
  • Loading branch information
minjoo0729 committed Nov 8, 2023
1 parent 2b8725b commit 08203c7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/web/src/components/organisms/CreateUserTagModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const CreateUserTagModal: React.FC = () => {
const onChangeTitle = (e: React.ChangeEvent<HTMLInputElement>) => {
setTitle(e.target.value);
};
const onChangeDescription = (e: React.ChangeEvent<HTMLInputElement>) => {
const onChangeDescription = (e: React.ChangeEvent<HTMLTextAreaElement>) => {
setDescription(e.target.value);
};

Expand Down Expand Up @@ -58,7 +58,7 @@ export const CreateUserTagModal: React.FC = () => {
</ModalInner>

<ModalInner title="태그 설명" required>
<ModalInner.InputBox
<ModalInner.TextAreaInputBox
onChange={onChangeDescription}
value={description}
/>
Expand Down
4 changes: 2 additions & 2 deletions packages/web/src/components/organisms/EditUserTagModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const EditUserTagModal: React.FC = () => {
const onChangeTitle = (e: React.ChangeEvent<HTMLInputElement>) => {
setTitle(e.target.value);
};
const onChangeDescription = (e: React.ChangeEvent<HTMLInputElement>) => {
const onChangeDescription = (e: React.ChangeEvent<HTMLTextAreaElement>) => {
setDescription(e.target.value);
};

Expand Down Expand Up @@ -68,7 +68,7 @@ export const EditUserTagModal: React.FC = () => {
</ModalInner>

<ModalInner title="태그 설명" required>
<ModalInner.InputBox
<ModalInner.TextAreaInputBox
value={description}
onChange={onChangeDescription}
/>
Expand Down

0 comments on commit 08203c7

Please sign in to comment.