1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/web/ synced 2025-03-09 00:00:01 +01:00

add missing state init

This commit is contained in:
Sonja Happ 2021-05-27 17:01:43 +02:00
parent f3fdbb50fd
commit 99bf868902

View file

@ -21,6 +21,9 @@ import { Form } from 'react-bootstrap';
class EditWidgetCheckboxControl extends React.Component {
constructor(props) {
super(props);
this.state = {
isChecked: false,
}
}
static getDerivedStateFromProps(props, state) {