Skip to content

Commit

Permalink
refactor/BibimMandu-IssueTacker#158: 레이블 리스트 컴포넌트 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
qkdflrgs committed Aug 11, 2023
1 parent 7ce208b commit 5eb2c17
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions FE/src/components/LabelList/LabelList.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// type Props = {};

import { styled } from "styled-components";
import Button from "../common/Button/Button";
import { Label } from "../../type";
Expand Down Expand Up @@ -41,7 +39,7 @@ export default function LabelList({ id, title, color, description }: Props) {
setLabelDescription(e.target.value);
};

const handleCInputChange = (e: React.ChangeEvent<HTMLInputElement>) => {
const handleColorInputChange = (e: React.ChangeEvent<HTMLInputElement>) => {
setLabelColor(e.target.value);
};

Expand Down Expand Up @@ -76,7 +74,7 @@ export default function LabelList({ id, title, color, description }: Props) {
};

return (
<Container id={id.toString()}>
<Container>
{!isEdit && (
<Default>
<LabelWrapper>
Expand Down Expand Up @@ -108,7 +106,7 @@ export default function LabelList({ id, title, color, description }: Props) {
color={labelColor}
onChangeName={handleNameInputChange}
onChangeDescrip={handleDescripInputChange}
onChangeColor={handleCInputChange}
onChangeColor={handleColorInputChange}
randomColor={randomColor}
cancelEdit={cancelEdit}
confirmEdit={confirmEdit}
Expand Down

0 comments on commit 5eb2c17

Please sign in to comment.