prettier run

This commit is contained in:
Claudio Maggioni (maggicl) 2020-04-30 11:56:06 +02:00
parent 697a348058
commit 146aae1684
3 changed files with 75 additions and 75 deletions

View File

@ -129,10 +129,10 @@ export class KnobDimmerComponent extends Component {
}
const mapStateToProps = (state, ownProps) => ({
get stateOrDevice(){
if(state.active.activeTab==="Devices"){
get stateOrDevice() {
if (state.active.activeTab === "Devices") {
return state.devices[ownProps.id];
}else{
} else {
return state.sceneStates[ownProps.id];
}
},