title: React/Redux mapStateToProps "TypeError: Cannot read property 'toJSON' of undefined"
body: <p>Step 1. I am creating a Redux store to get the test data. </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>export default [
    {
      icon: 'cubes',
      timestamp: '2323424',
      title: 'ship load',
      rfid: 'arizona',
      type: 'Order Created',
      notes: 'children on board',
      iconColor: '#ff6718',
      txHash: '0x12312415254254253453453',
    },
    {
      icon: 'bus',
      timestamp: '320032424',
      title: 'board bus',
      rfid: 'cali',
      notes: 'large item with odd dimensions',
      iconColor: '#ff6718',
      txHash: '0x12312415254254253453453',
    }
  ]</code></pre>
  </div>
  </div>
  </p>
  
  <p>Step 2. I am calling this file in log.js page as.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>import { List } from 'immutable';
  import testData from './testData';
  
  const initialState = List(testData);
  
  export default(state = initialState, action) =&gt; {
    switch (action.type) {
      default:
        return state;
    }
  };</code></pre>
  </div>
  </div>
  </p>
  
  <p>Step 3. I am calling this Log.js in my UI page using mapStateToProps</p>
  
  <pre><code>const mapStateToProps = state =&gt; ({
      Log: state.Log.toJSON(),
  });
  </code></pre>
  
  <p>I keep getting error here. I am using immutable.js <code>LIST()</code> to get the data array. I tried <code>toJS()</code> anyway getting this <code>"TypeError: Cannot read property 'toJSON' of undefined"</code> error.</p>