small fixes and clean up
This commit is contained in:
parent
71bd9cecd5
commit
1f063aebb6
1 changed files with 2 additions and 0 deletions
|
@ -33,6 +33,8 @@ class Device extends React.Component {
|
|||
}
|
||||
|
||||
renderDeviceComponent() {
|
||||
console.log("check here")
|
||||
console.log(this.props.stateOrDevice.kind)
|
||||
switch (this.props.stateOrDevice.kind) {
|
||||
case "curtains":
|
||||
return <Curtains tab={this.props.tab} id={this.props.id} />;
|
||||
|
|
Loading…
Reference in a new issue