Skip to content

Commit

Permalink
TF 레이아웃 handlechange 적용
Browse files Browse the repository at this point in the history
* 아직 불완전한 handlechange 적용되도록 바꿈
  • Loading branch information
MOBUMIN committed Feb 25, 2021
1 parent cf9d5b9 commit 82992fe
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/components/UI/CreateRoomUI.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,9 @@ function TFLayout(props) {
/>
<Checkbox
className="ansInputCheck"
checked={props.ansData[0]}
value={0}
checked={props.ansData[0].checked}
onChange={props.handleChange}
icon={<CircleUnchecked className="ansInputIcon" />}
checkedIcon={<CircleCheckedFilled className="ansInputIcon" />}
/>
Expand All @@ -199,7 +201,9 @@ function TFLayout(props) {
/>
<Checkbox
className="ansInputCheck"
checked={props.ansData[1]}
value={1}
checked={props.ansData[1].checked}
onChange={props.handleChange}
icon={<CircleUnchecked className="ansInputIcon" />}
checkedIcon={<CircleCheckedFilled className="ansInputIcon" />}
/>
Expand Down

0 comments on commit 82992fe

Please sign in to comment.