Skip to content

Commit

Permalink
Откат изменений по поддержке нескольких устройств.
Browse files Browse the repository at this point in the history
  • Loading branch information
s.gologuzov committed Mar 20, 2024
1 parent b7f41d3 commit 4be32c6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/components/menu-bar/menu-bar.jsx
Expand Up @@ -1010,7 +1010,6 @@ MenuBar.propTypes = {
onSetStageLarge: PropTypes.func.isRequired,
deviceId: PropTypes.string,
deviceName: PropTypes.string,
deviceNames: PropTypes.arrayOf(PropTypes.string),
onDeviceIsEmpty: PropTypes.func
};

Expand Down Expand Up @@ -1047,8 +1046,7 @@ const mapStateToProps = (state, ownProps) => {
vm: state.scratchGui.vm,
peripheralName: state.scratchGui.connectionModal.peripheralName,
deviceId: state.scratchGui.device.deviceId,
deviceName: state.scratchGui.device.deviceName,
deviceNames: state.scratchGui.device.deviceName
deviceName: state.scratchGui.device.deviceName
};
};

Expand Down

0 comments on commit 4be32c6

Please sign in to comment.