import { Component, createElement } from 'react';
import { connect } from 'react-redux';

import * as actions from './actions';
import * as reducers from './reducer';
import initialState from './initial-state';

import LayerMenuNativeComponent from './component';

const mapStateToProps = state => ({
  layerActive: state.pulse.layerActive
});

class LayerMenuNativeContainer extends Component {
  render() {
    return createElement(LayerMenuNativeComponent, {
      ...this.props
    });
  }
}

export { actions, reducers, initialState };

export default connect(mapStateToProps, actions)(LayerMenuNativeContainer);

@@ -1,54 +1,4 @@
-import %7B Component, createElement %7D from 'react';%0A
 impo
@@ -236,214 +236,19 @@
 s = 
-state
+()
  =%3E (%7B
-%0A  layerActive: state.pulse.layerActive%0A%7D);%0A%0Aclass LayerMenuNativeContainer extends Component %7B%0A  render() %7B%0A    return createElement(LayerMenuNativeComponent, %7B%0A      ...this.props%0A    %7D);%0A  %7D%0A%7D
+%7D);
 %0A%0Aex
@@ -360,14 +360,14 @@
 veCo
-ntainer
+mponent
 );%0A

remove unnecessary container