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) => ({ const mapStateToProps = (state, ownProps) => ({
get stateOrDevice(){ get stateOrDevice() {
if(state.active.activeTab==="Devices"){ if (state.active.activeTab === "Devices") {
return state.devices[ownProps.id]; return state.devices[ownProps.id];
}else{ } else {
return state.sceneStates[ownProps.id]; return state.sceneStates[ownProps.id];
} }
}, },