diff --git a/src/components/menu-bar/menu-bar.jsx b/src/components/menu-bar/menu-bar.jsx index a5a6d46db1d..daa0ce7b0ae 100644 --- a/src/components/menu-bar/menu-bar.jsx +++ b/src/components/menu-bar/menu-bar.jsx @@ -1010,7 +1010,6 @@ MenuBar.propTypes = { onSetStageLarge: PropTypes.func.isRequired, deviceId: PropTypes.string, deviceName: PropTypes.string, - deviceNames: PropTypes.arrayOf(PropTypes.string), onDeviceIsEmpty: PropTypes.func }; @@ -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 }; };