title: Getting undefined when I drill into my redux store
body: <p>I'm using useSelector to retrieve my store. However when I <code>console.log(items)</code> there is data but when I do this <code>console.log(items.totalAmount)</code> I get undefined.</p>
  <pre><code>import {useSelector} from 'react-redux';
  
  const items = useSelector(state =&gt; state.items);
  
  //I'm able to see the data
  console.log(items)
  </code></pre>
  <p>The data when its logged</p>
  <pre><code>[{&quot;code&quot;: &quot;SR71&quot;, &quot;description&quot;: &quot;Keyboard&quot;, &quot;quantity&quot;: 1, &quot;selling_price&quot;: 166.99, &quot;totalAmount&quot;: 166.99}, {&quot;code&quot;: &quot;10&quot;, &quot;description&quot;: &quot;Cement&quot;, &quot;quantity&quot;: 7, &quot;selling_price&quot;: 20, &quot;totalAmount&quot;: 140}]
  </code></pre>
  <pre><code>//I get undefined
  console.log(items.totalAmount);
  </code></pre>
  <p>Could any please explain what am I doing wrong.</p>