Skip to content

Commit

Permalink
Убран лишний код
Browse files Browse the repository at this point in the history
  • Loading branch information
s.gologuzov committed Apr 19, 2024
1 parent 741c08a commit c8e681a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/components/monitor/map-monitor-scroller.jsx
Expand Up @@ -6,6 +6,7 @@ import {FormattedMessage} from 'react-intl';

import styles from './monitor.css';
import {List} from 'react-virtualized';
import {Map} from 'immutable';

class MapMonitorScroller extends React.Component {
constructor (props) {
Expand Down
1 change: 1 addition & 0 deletions src/components/monitor/map-monitor.jsx
Expand Up @@ -4,6 +4,7 @@ import classNames from 'classnames';
import {FormattedMessage} from 'react-intl';
import styles from './monitor.css';
import MapMonitorScroller from './map-monitor-scroller.jsx';
import {Map} from 'immutable';

const MapMonitor = ({draggable, label, width, height, value, onResizeMouseDown, onAdd, ...rowProps}) => (
<div
Expand Down
2 changes: 0 additions & 2 deletions src/reducers/devices.js
Expand Up @@ -29,10 +29,8 @@ const reducer = function (state, action) {
return newState;
}
case UPDATE_MONITORING: {
console.log('[UPDATE_MONITORING] action:', action);
const device = action.device;
newState[device.deviceId].monitoring = device.monitoring;
console.log('[UPDATE_MONITORING] newState:', newState);
return newState;
}
default:
Expand Down

0 comments on commit c8e681a

Please sign in to comment.