title: × TypeError: Object is not iterable (cannot read property Symbol(Symbol.iterator))
body: <pre><code>TypeError: Object is not iterable (cannot read property Symbol(Symbol.iterator)) 
  App C:/Users/T.N shukla/whatsapp/src/App.js:10
  
  
  7 | import {useStateValue} from './StateProvider';
     8 | 
     9 | function App() {
  &gt; 10 |   const [ user ,setdispatch]=useStateValue(); 
    11 |  
    12 |   return (
    13 |     &lt;div className=&quot;App&quot;&gt;
  </code></pre>